Re: Problem/strange behavior with older version of Mergpop (2.0.7) and Retina screens?

2014-10-02 Thread William de Smet
Hi there,

Thanks for your answers.
When using LC 6.6.3 everything works as aspected (the entire snapshot is
saved on a retina device) with the original code below (build with an older
version of LC):
--
export snapshot from rectangle 20,72,1000,742  to tFoto as PNG
put tFoto into img foto
put tFoto into URL
(file:specialFolderPath(documents)/woordparachute.png)
put specialFolderPath(documents)/woordparachute.png into tImage
--
mergPopActivity ,tImage,,
-

There was a suggestion there was a bug with snapshot.
I think I will use LC 6.6.3 to upload a new version off the app and see
what happens.

Suggestions or code changes are still welcome.

greetings,

William

2014-09-29 17:01 GMT+02:00 Earthednet-wp proth...@earthednet.org:

 There was a problem with snapshot that, I think, got fixed in 6.7, or
 possibly one of the 6.6 releases. I use snapshot heavily in my app,
 reported a bug a while ago, and it was verified and fixed. You might try
 one of the newer releases.

 I'm doing all of my work on 7.0 now, and the app I'm developing works well.
 Best,
 Bill

 William Prothero
 http://es.earthednet.org

  On Sep 29, 2014, at 7:29 AM, Chris Sheffield cmsheffi...@icloud.com
 wrote:
 
  William,
 
  I’ve run into this as well. I’m still not totally sure where the problem
 lies.
 
  I don’t know how you’re saving your image, but in my case I am taking a
 screenshot. I finally got it to work correctly with:
 
  export snapshot from this card to file [file_path] as PNG
 
  Hopefully that’ll work for you as well.
 
  Chris
 
 
  --
  Chris Sheffield
  Read Naturally, Inc.
  www.readnaturally.com
 
  On Sep 27, 2014, at 7:38 AM, William de Smet williamdes...@gmail.com
 wrote:
 
  Hi there,
 
  Yesterday I got an e-mail about a problem with one of my apps.
  I am trying to debug the problem now and maybe anyone can help me.
 
  In my app I use MergPop (MergExt) for saving an image.
  When putting my app through Xcode on my iPad the image is saved nicely
  using MergPop.
  But when I download the app from the Appstore (I never did before until
  today) only a part of the image is saved using MergPop.
  This is on a iPad 3 with retina screen with iOS 7. On a non Retina
 screen
  (iPad mini) with iOS 8 the behavior is normal and the entire image is
 saved.
 
  My app was uploaded to the App store in februari 2014 and today I
 noticed
  that MergPop was updated on 3/24/14.
  Does anyone recognize my problem. Is it due to an older version of
 Mergpop
  (2.0.7?) and retina screens?
  I also contacted Monty but he didn't respond yet..
 
  greetings,
 
  William
  ___
  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

___
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

position of field scrollbar

2014-10-02 Thread larry
Hello,
I have a field with a vScrollbar

Does anyone know how to set the position of the scrollbar to 0  ??

I'm sorry, but the LC dictionary is of NO help in this matter - at least not 
that I could see.

Thanks,
Larry
___
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: position of field scrollbar

2014-10-02 Thread Mark Schonewille

Hi Larry,

If you search the dictionary for scroll, you'll see properties such as 
scroll, vScroll and hScroll. You can use the vScroll property to set the 
scroll of a field to 0.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 10/2/2014 11:05, la...@significantplanet.org wrote:

Hello,
I have a field with a vScrollbar

Does anyone know how to set the position of the scrollbar to 0  ??

I'm sorry, but the LC dictionary is of NO help in this matter - at least not 
that I could see.

Thanks,
Larry


___
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: use-livecode Digest, Vol 133, Issue 5

2014-10-02 Thread bernd . gottwald
Bis zum 12.10.2014 bin ich nicht verfügbar. Ich werde meine Emails nicht lesen. 
In dringenden Fällen erreichen Sie mich über mein Mobiltelefon.



I will be out of office until 12.10.2014. I won't read me emails. In urgent 
matter please call me on my mobile.




___
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: Problem/strange behavior with older version of Mergpop (2.0.7) and Retina screens?

2014-10-02 Thread Trevor DeVore
On Thu, Oct 2, 2014 at 3:55 AM, William de Smet williamdes...@gmail.com
wrote:

 --
 export snapshot from rectangle 20,72,1000,742  to tFoto as PNG
 put tFoto into img foto
 put tFoto into URL
 (file:specialFolderPath(documents)/woordparachute.png)
 put specialFolderPath(documents)/woordparachute.png into tImage
 --
 mergPopActivity ,tImage,,
 -


You need to use binfile: when working with binary data (e.g. image data).
Try changing file: to binfile:.

-- 
Trevor DeVore
ScreenSteps
www.screensteps.com-www.clarify-it.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: Strip a ™ character

2014-10-02 Thread JB
I take if very serious when I see a company
that tries to put out a good product struggle
due to problems that may have been placed
there like a stumbling block to destroy them.

Of course like your code below all code is
written intentionally.

Who do you think is sniveling and exactly
how fun is if for you to say “it burns. it burns!”?

And who are you saying it to me because the
code does not work or LiveCode?  Either way
what makes it so fun for you?

But when it comes to the error I found, that
error and many others can destroy an good
company and may have helped cause the
financial problems Revolution had.

I am not attacking LiveCode and have been
supporting them for many years.

The many test I have done on the Binary to Hex
code makes me think it took some extra special
code to cause the problem.  I certainly do not
think this was done to attack me personally.

John Balgenorth



On Oct 1, 2014, at 5:20 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Wed, Oct 1, 2014 at 4:01 PM, JB sund...@pacifier.com wrote:
 
 
 Code for Program to convert binary to hexadecimal in C Programming
 
 
 \begin snivel{}
 It burns, it burns!
 
 
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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: position of field scrollbar

2014-10-02 Thread Ralph DiMola
Set the vscroll of control YourField to 0

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of la...@significantplanet.org
Sent: Thursday, October 02, 2014 5:06 AM
To: use-livecode@lists.runrev.com
Subject: position of field scrollbar

Hello,
I have a field with a vScrollbar

Does anyone know how to set the position of the scrollbar to 0  ??

I'm sorry, but the LC dictionary is of NO help in this matter - at least not
that I could see.

Thanks,
Larry
___
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: Outrageously slow AppleScript performance

2014-10-02 Thread Richard Gaskin

Bill Vlahos wrote:

 When I execute the AppleScript listed below in the AppleScript Editor
 it works in about 1 second. Take the same script, put in in a
 LiveCode field and do field “name” as AppleScript and it takes
 between 1 and 2 minutes to do!

 1. Why?
 2. How can I make it run quickly?

The time difference is big enough that I suspect Zyrip is on the right 
track:

http://lists.runrev.com/pipermail/use-livecode/2014-October/206543.html

But in general, executing AppleScript from LiveCode will almost always 
be somewhat slower than running the same script within Apple's 
AppleScript Editor for two reasons:


1. In AS, the interface to the AE subsystem is initialized when the app 
opens, but in LC it needs to be setup at runtime when the call is made.


2. In AS scripts are compiled before being run, but in LC we're passing 
a string to the AS subsystem, which it then has to compile before executing.


Neither of those should take quite that long, though.

If you're coming to tonight's LiveCode User Group meeting in Pasadena 
please bring your project and let's brainstorm ways to diagnose what's 
going on with it.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: LiveCode startup

2014-10-02 Thread Richard Gaskin

Mike Doub wrote:

 i am trying to understand the start up sequence of livecode.
 Is there any documentation on the engine and it's architecture?

Depends what you want to do.  For most scripters, the User Guide 
provides sufficient description of the message sequence.  But if you 
want to make a custom IDE, there are some details that won't interest 
most folks that might interest you, and I could put together a tech note 
if needed.


What are you looking to do?

PS - a thought on one item in your list:

 When you build a standalone of your app, the IDE builds a executable
 of the engine and your main stack but it renames your main stack to
 the name of that first stack in number 1 above so when you run the
 standalone your stack is the first to run.

Stack objects are not renamed.  After all, if they were then any scripts 
that refer to that stack would break.


During build time the engine executable becomes statically bound to a 
copy of your stack file, with a pointer within the engine that finds the 
beginning if your mainstack object within the executable file so it can 
unpack it and start sending messages.


In most respects (aside from initialization scripts specific to the 
IDE), the boot sequence is very similar to what you see when opening a 
stack in LiveCode, with the exception that the startup message isn't 
sent since the IDE gets that when it starts up.


Once we know more about what you're looking to do we can provide clear 
advisement on how to go about it.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Outrageously slow AppleScript performance

2014-10-02 Thread Roger Eller
Unless the AS needs to be built dynamically, you could compile it, and just
launch it through LC.

~Roger

On Thu, Oct 2, 2014 at 10:24 AM, Richard Gaskin ambassa...@fourthworld.com
wrote:

 Bill Vlahos wrote:

  When I execute the AppleScript listed below in the AppleScript Editor
  it works in about 1 second. Take the same script, put in in a
  LiveCode field and do field “name” as AppleScript and it takes
  between 1 and 2 minutes to do!
 
  1. Why?
  2. How can I make it run quickly?

 The time difference is big enough that I suspect Zyrip is on the right
 track:
 http://lists.runrev.com/pipermail/use-livecode/2014-October/206543.html

 But in general, executing AppleScript from LiveCode will almost always be
 somewhat slower than running the same script within Apple's AppleScript
 Editor for two reasons:

 1. In AS, the interface to the AE subsystem is initialized when the app
 opens, but in LC it needs to be setup at runtime when the call is made.

 2. In AS scripts are compiled before being run, but in LC we're passing a
 string to the AS subsystem, which it then has to compile before executing.

 Neither of those should take quite that long, though.

 If you're coming to tonight's LiveCode User Group meeting in Pasadena
 please bring your project and let's brainstorm ways to diagnose what's
 going on with it.

 --
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  
  ambassa...@fourthworld.comhttp://www.FourthWorld.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: Strip a ™ character

2014-10-02 Thread JB
The code I presented was because I thought it would
be similar to what you already have.  It shows there is
not much code for that routine.  Strip out the lines that
are made for the user to enter the code to transfer and
show those questions on screen and the part that will
quit if the user does not enter a binary code and then
all of the required curly braces etc. and there is not that
much left to the code that was small in the beginning.

I knew pascal better than I know C.  I can read it and also
write it a little but I am not a pro or even close.  Objective-C
is the way to go and for me it has a better structure.  But it
uses some of the same formats as C.

If I was going to suggest code to replace the code that is being
used I would strongly suggest Grand Central Dispatch (GCD).
It can be accessed from foundation which Trevor said they have
put in LiveCode and the foundation library is accessible from the
Objective-C externals package he posted a link to.  It compiles
successfully without any problems using what is in the package
even on the newer Xcode but it won’t work properly due to it will
need to be compiled with Xcode 2.4.  That means once someone
gets their system in place to properly compile his examples things
like the NSFilemanager and GCD can easily be incorporated.

Concerning the problems with the binary to hex conversion not
working I tested it many different ways.  I placed returns before
the line and after the line.  I have stripped the returns and I have
placed each 8 character binary on a separate line and then I took
only the eight chars from each line so nothing would need to be
stripped and it would still put the unwanted characters in the Hex
that was returned.  All you do is take eight characters and then
enter two characters they represent.  You enter one line of code
and it works but if you enter more than one line it does not work.
Problems like that could have easily made customers say that it
is not a good program to use and that reduces sales and causes
financial problems.  A lot of my code was stolen and erased from
my hard drive and they would also change it causing me problems.
This actually happened and my business records were changed.

So I have been attacked at many levels for many years and when
I expose a serious problem with code in LiveCode and someone
taunts me or LiveCode I do not find it any more fun than someone
kicking me after others have attacked me from behind.  That is the
same attitude people gave me when they would steal my supplies
and tools from my electrical contracting business and intentionally
over charge me constantly.  I wrote a program to catch the over
charging but even that takes time out of your life and they know
what they are doing and they enjoyed it.  You learn to deal with it
or you break and they are not held accountable because they will
say it was a mistake.  Things are a lot worse than you are aware
of in the business world unless you are connected to this group.

John Balgenorth


On Oct 2, 2014, at 7:09 AM, Richard Gaskin ambassa...@fourthworld.com wrote:

 JB wrote:
 
  On Oct 1, 2014, at 5:20 PM, Dr. Hawkins dochawk at gmail.com wrote:
 
  On Wed, Oct 1, 2014 at 4:01 PM, JB sundown at pacifier.com wrote:
 
  Code for Program to convert binary to hexadecimal in C Programming
 
  \begin snivel{}
  It burns, it burns!
 ...
  Who do you think is sniveling and exactly
  how fun is if for you to say “it burns. it burns!”?
 
  And who are you saying it to me because the
  code does not work or LiveCode?  Either way
  what makes it so fun for you?
 
  But when it comes to the error I found, that
  error and many others can destroy an good
  company and may have helped cause the
  financial problems Revolution had.
 
  I am not attacking LiveCode and have been
  supporting them for many years.
 
  The many test I have done on the Binary to Hex
  code makes me think it took some extra special
  code to cause the problem.  I certainly do not
  think this was done to attack me personally.
 
 Dr. Hawkins is a good-natured fellow, and I've known him long enough to feel 
 confident that his comment wasn't an attack on you, but merely on C, and even 
 then in a light-hearted way (or so I'm sure it was intended).
 
 Most of us here are long-time LiveCode fans, so when we see C presented as an 
 alternative, the notion of having to do that level of tedious bit-counting 
 and then waiting for a compiler compels us to make the text equivalent of 
 raspberry sounds. :)
 
 In this particular case, the code you presented is likely very similar to the 
 code already in LiveCode for the built-in binaryDecode function.
 
 But in LiveCode, we not only have the advantage of being able to access it 
 directly in the scripting language right now, but it also runs on all 7 of 
 the platforms LiveCode supports.
 
 This is similar in some respects to your earlier suggestion that we need to 
 have the NSFIleManager.   If you review the LiveCode source code 

RELEASE: LiveCode 6.6.4 RC1

2014-10-02 Thread Benjamin Beaumont
Dear list members,

We're please the announce the release of LiveCode 6.6.4 RC1.

*Release Contents*
6.6.4-rc-1 brings iOS 8 support to LiveCode. As well as adding the ability
to produce device builds using the iOS 8 SDK (required for app store
submission) and test with the iOS 8 simulator, the following iOS 8 bugs
have been resolved:

* Pickers do not work
* Rotation does not work
* Screen sizes report incorrectly
* Push notifications do no work
* Apps rejected by app store
* iPhone 6 and iPhone 6 Plus support

In order to take full advantage of all the fixes, it is recommended that
users have Xcode 6 (and at least OS 10.9) installed.

Users of older versions of OS X can still take advantage of the bug fixes
and develop and test as before. However, beware that it is likely apps
built with such a setup will not be accepted into the app store.

*Getting the release*
You can get this release by selecting “check for updates” from the help
menu in LiveCode or download the installers directly at
http://downloads.livecode.com/livecode/

Warm regards,

The LiveCode Team
___
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: RELEASE: LiveCode 6.6.4 RC1

2014-10-02 Thread Dave Kilroy
To everyone at RunRev - THANK YOU AND WELL DONE FOR FIXING IT!



-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-4-RC1-tp4684084p4684085.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: Re: Strip a ™ character

2014-10-02 Thread Richard Gaskin

JB wrote:

 The code I presented was because I thought it would
 be similar to what you already have.  It shows there is
 not much code for that routine.

Seems like we're on the same page then.

I've missed the first several posts in this thread, so I must admit that 
I don't have a good understanding of the full scope of the problem, but 
I do maintain the belief that because LC has pretty similar code to do 
that sort of replacement, I suspect what's needed here could be done 
with LC right now.


If the problem is that the source text is Unicode, a simple binary 
replace may not suffice, since it can be difficult to know the 
boundaries between glyphs.


For example, if you were replacing AA with BB, if your source had:

BB BA AB AA

...then you'd wind up with:

BB BB BB AA

If this is Unicode we're dealing with, you may find LiveCode 7 can 
handle this quite well using the built-in replace command, as it 
understands glyph boundaries well.


But even in LiveCode 6.x, I'll bet there's a way to solve with what we 
have right now, though it may be slower.



 If I was going to suggest code to replace the code that is being
 used I would strongly suggest Grand Central Dispatch (GCD).

LC now includes enhanced parallelism, though mostly for graphics at this 
time.  It may even be that the Mac build uses GCD to help with that 
(being Apache licensed it's compatible with the GPL that governs the 
Community Edition).


But how would parallelism benefit a binary replacement?  Is the data set 
unusually large?


I would expect/hope that the new multi-core optimizations in LC could 
one day be extended with an exposed API for scripting.  Perhaps this may 
be a good test case for exploring those ideas.



 So I have been attacked at many levels for many years and when
 I expose a serious problem with code in LiveCode and someone
 taunts me or LiveCode I do not find it any more fun than someone
 kicking me after others have attacked me from behind.  That is the
 same attitude people gave me when they would steal my supplies
 and tools from my electrical contracting business and intentionally
 over charge me constantly.  I wrote a program to catch the over
 charging but even that takes time out of your life and they know
 what they are doing and they enjoyed it.  You learn to deal with it
 or you break and they are not held accountable because they will
 say it was a mistake.  Things are a lot worse than you are aware
 of in the business world unless you are connected to this group.

I'm sorry to hear that you've had such experience with your business, 
but please let me assure you no one here means to do you any harm.


On the contrary, Dr. Hawkins was merely poking fun at C rather than you, 
and my only interest here is in helping you get what you want from LiveCode.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Strip a ™ character

2014-10-02 Thread JB
Well then Dr. Hawkins won’t need to take things
too seriously if he is offended.  He is a big boy
just like me and you.

As for my business it is nice you are concerned
about the damage but there was a lot more than
that at a lot more levels.  I can assure you these
people are everywhere and they are organized.
It appears they have some form of tapping system
and they use gossip or other means to attack too.

But the subject is the code.

I do not know unix and you may be right.  The thing
with the extra chars is critical.  The code to convert
is simple.  As for the code being converted it was all
from a field.  Write something in the field on one line
then use the code to convert that line to binary and it
works.  You put that code into the field and all it knows
is you have put 6 characters for each letter you had in
the field and those characters are now a combination
of 0’s and 1’s.  So you now have the same type of text
in the field.  To convert that to Hex you take 8 chars out
of the field and then replace them with 2 chars that can
be a number and a letter from A to F.  The letters can be
either upper or lower case but it will be used the same
way in the conversion.  Most people are not actually doing
the conversion from the binary 8 char to Hex 2 char they
call a routine from a library similar to me call a function you
wrote.  So the conversion if successful at all should always
be successful and will not give you extra chars.  The text
returned is what will always be returned so if your function
takes text from a field and returns it then there is really no
big change unless you change its form.  What is being done
to the text is not changing its form unless the code used is
somehow changing it but if that is the case you would not be
able to have a single char or line work either.

There is no reason to add more chars just because you have
used the conversion on text from a different line.  If it was doing
it on text from the first line too then that might be possible but
just telling 8 chars they are now 2 chars does not add AA and
the form of text entered or returned does has no reason to be
changed just because you entered text from another line.  I did
it where I only used the eight chars on each line.  I can choose
any one line from the field and it works fine.

I have ways that I think I can solve the problems and if that does
not work I can use GCD.  The problem needs fixed or you will be
left with a problem and in that case why not just remove the code
that allows you to convert Binary to Hex?

Leaving bad code is like selling milk and then the user opens the
container and finds it does not have any milk.  If you know milk is
not being put into the containers then do not sell the milk or fix it.

John Balgenorth


On Oct 2, 2014, at 8:34 AM, Richard Gaskin ambassa...@fourthworld.com wrote:

 JB wrote:
 
  The code I presented was because I thought it would
  be similar to what you already have.  It shows there is
  not much code for that routine.
 
 Seems like we're on the same page then.
 
 I've missed the first several posts in this thread, so I must admit that I 
 don't have a good understanding of the full scope of the problem, but I do 
 maintain the belief that because LC has pretty similar code to do that sort 
 of replacement, I suspect what's needed here could be done with LC right now.
 
 If the problem is that the source text is Unicode, a simple binary replace 
 may not suffice, since it can be difficult to know the boundaries between 
 glyphs.
 
 For example, if you were replacing AA with BB, if your source had:
 
BB BA AB AA
 
 ..then you'd wind up with:
 
BB BB BB AA
 
 If this is Unicode we're dealing with, you may find LiveCode 7 can handle 
 this quite well using the built-in replace command, as it understands glyph 
 boundaries well.
 
 But even in LiveCode 6.x, I'll bet there's a way to solve with what we have 
 right now, though it may be slower.
 
 
  If I was going to suggest code to replace the code that is being
  used I would strongly suggest Grand Central Dispatch (GCD).
 
 LC now includes enhanced parallelism, though mostly for graphics at this 
 time.  It may even be that the Mac build uses GCD to help with that (being 
 Apache licensed it's compatible with the GPL that governs the Community 
 Edition).
 
 But how would parallelism benefit a binary replacement?  Is the data set 
 unusually large?
 
 I would expect/hope that the new multi-core optimizations in LC could one day 
 be extended with an exposed API for scripting.  Perhaps this may be a good 
 test case for exploring those ideas.
 
 
  So I have been attacked at many levels for many years and when
  I expose a serious problem with code in LiveCode and someone
  taunts me or LiveCode I do not find it any more fun than someone
  kicking me after others have attacked me from behind.  That is the
  same attitude people gave me when they would steal my supplies
  and tools from my electrical 

Re: Strip a ™ character

2014-10-02 Thread JB
This is an error

6 characters

I have trouble with my vision from being
poisoned in my home and it collects on
my eyes.

The discussion concerns eight chars and two chars,

John Balgenorth


On Oct 2, 2014, at 9:06 AM, JB sund...@pacifier.com wrote:

 6 characters

___
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: Strip a ™ character

2014-10-02 Thread Dr. Hawkins
On Thu, Oct 2, 2014 at 6:11 AM, JB sund...@pacifier.com wrote:

 Who do you think is sniveling and exactly
 how fun is if for you to say “it burns. it burns!”?

 And who are you saying it to me because the
 code does not work or LiveCode?  Either way
 what makes it so fun for you?


No, not at all.  It's the C. Any C. Especially working in text with C.

snivel was the best word I could come up with for Gollum's voice/tone
from the Lord of the Rings movie (I think they were binding him with elven
rope, or some such.).

I've used, learned, and forgotten more languages that I can recall over the
years--including C and C++ a couple of times each, raw postscript, and
coding in LaTeX (from which the [probably mis-syntaxed] \snivel line is
drawn).

After having written a mailmerge in C++ (or maybe it was C; whatever LyX is
written in), my reaction to *any* text manipulation in C for the rest of my
life will probably be that of a vampire to a Crucifix . . .

C has some wonderful features.  I'd particularly like to be able to use
it's variable scoping in livecode.  (hmm, that may be all :).  I've been
personally told by Dennis Ritchie that Ken would agree with my complaint
that the names of mkdir and rmdir in Unix are bugs, as commands that
important should have two letter names.

But I truly hope to go the rest of my life without writing or even reading,
another line of C.

It burns.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: RELEASE: LiveCode 6.6.4 RC1

2014-10-02 Thread Ralph DiMola
+1

THANK YOU!

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Dave Kilroy
Sent: Thursday, October 02, 2014 11:25 AM
To: use-revolut...@lists.runrev.com
Subject: Re: RELEASE: LiveCode 6.6.4 RC1

To everyone at RunRev - THANK YOU AND WELL DONE FOR FIXING 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: Strip a ™ character

2014-10-02 Thread JB
Okay, I am sorry I misunderstood you.
I do not like C or any of its form either.
And I do not like all of the wasted text
with curly braces.

Now that Apple has released Swift it is
a little easier than C but you still need to
have a C background to use it.

John Balgenorth


On Oct 2, 2014, at 9:28 AM, Dr. Hawkins doch...@gmail.com wrote:

 On Thu, Oct 2, 2014 at 6:11 AM, JB sund...@pacifier.com wrote:
 
 Who do you think is sniveling and exactly
 how fun is if for you to say “it burns. it burns!”?
 
 And who are you saying it to me because the
 code does not work or LiveCode?  Either way
 what makes it so fun for you?
 
 
 No, not at all.  It's the C. Any C. Especially working in text with C.
 
 snivel was the best word I could come up with for Gollum's voice/tone
 from the Lord of the Rings movie (I think they were binding him with elven
 rope, or some such.).
 
 I've used, learned, and forgotten more languages that I can recall over the
 years--including C and C++ a couple of times each, raw postscript, and
 coding in LaTeX (from which the [probably mis-syntaxed] \snivel line is
 drawn).
 
 After having written a mailmerge in C++ (or maybe it was C; whatever LyX is
 written in), my reaction to *any* text manipulation in C for the rest of my
 life will probably be that of a vampire to a Crucifix . . .
 
 C has some wonderful features.  I'd particularly like to be able to use
 it's variable scoping in livecode.  (hmm, that may be all :).  I've been
 personally told by Dennis Ritchie that Ken would agree with my complaint
 that the names of mkdir and rmdir in Unix are bugs, as commands that
 important should have two letter names.
 
 But I truly hope to go the rest of my life without writing or even reading,
 another line of C.
 
 It burns.
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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: Strip a ™ character

2014-10-02 Thread PystCat
LOL. What's funny is when I read that line, ...it burns. It burns! I 
immediately thought of Gollum when he was being tied up.  Good to know it 
wasn't me.

Maybe I read too much Tolkien

 On Oct 2, 2014, at 12:28 PM, Dr. Hawkins doch...@gmail.com wrote:
 
 On Thu, Oct 2, 2014 at 6:11 AM, JB sund...@pacifier.com wrote:
 
 Who do you think is sniveling and exactly
 how fun is if for you to say “it burns. it burns!”?
 
 And who are you saying it to me because the
 code does not work or LiveCode?  Either way
 what makes it so fun for you?
 
 No, not at all.  It's the C. Any C. Especially working in text with C.
 
 snivel was the best word I could come up with for Gollum's voice/tone
 from the Lord of the Rings movie (I think they were binding him with elven
 rope, or some such.).
 
 I've used, learned, and forgotten more languages that I can recall over the
 years--including C and C++ a couple of times each, raw postscript, and
 coding in LaTeX (from which the [probably mis-syntaxed] \snivel line is
 drawn).
 
 After having written a mailmerge in C++ (or maybe it was C; whatever LyX is
 written in), my reaction to *any* text manipulation in C for the rest of my
 life will probably be that of a vampire to a Crucifix . . .
 
 C has some wonderful features.  I'd particularly like to be able to use
 it's variable scoping in livecode.  (hmm, that may be all :).  I've been
 personally told by Dennis Ritchie that Ken would agree with my complaint
 that the names of mkdir and rmdir in Unix are bugs, as commands that
 important should have two letter names.
 
 But I truly hope to go the rest of my life without writing or even reading,
 another line of C.
 
 It burns.
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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: Strip a T character

2014-10-02 Thread Ralph DiMola
+1 but unfortunately for me.Never going to happen.

 But I truly hope to go the rest of my life without writing or even 
 reading, another line of C.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.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: Outrageously slow AppleScript performance

2014-10-02 Thread Bill Vlahos
Thanks everyone. It turns out that RunRev knows about the issue:
http://quality.runrev.com/show_bug.cgi?id=11358

Richard, I will be at the meeting tonight and as my contribution topic for the 
meeting. See you there.

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)
RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61)

On Oct 2, 2014, at 7:42 AM, Roger Eller roger.e.el...@sealedair.com wrote:

 Unless the AS needs to be built dynamically, you could compile it, and just
 launch it through LC.
 
 ~Roger
 
 On Thu, Oct 2, 2014 at 10:24 AM, Richard Gaskin ambassa...@fourthworld.com
 wrote:
 
 Bill Vlahos wrote:
 
 When I execute the AppleScript listed below in the AppleScript Editor
 it works in about 1 second. Take the same script, put in in a
 LiveCode field and do field “name” as AppleScript and it takes
 between 1 and 2 minutes to do!
 
 1. Why?
 2. How can I make it run quickly?
 
 The time difference is big enough that I suspect Zyrip is on the right
 track:
 http://lists.runrev.com/pipermail/use-livecode/2014-October/206543.html
 
 But in general, executing AppleScript from LiveCode will almost always be
 somewhat slower than running the same script within Apple's AppleScript
 Editor for two reasons:
 
 1. In AS, the interface to the AE subsystem is initialized when the app
 opens, but in LC it needs to be setup at runtime when the call is made.
 
 2. In AS scripts are compiled before being run, but in LC we're passing a
 string to the AS subsystem, which it then has to compile before executing.
 
 Neither of those should take quite that long, though.
 
 If you're coming to tonight's LiveCode User Group meeting in Pasadena
 please bring your project and let's brainstorm ways to diagnose what's
 going on with it.
 
 --
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: RELEASE: LiveCode 6.6.4 RC1

2014-10-02 Thread Richmond

Thrilled to report that 6.6.4 rc1 while remaining iconless
installs, launches and works on my iMac G5 running Mac OS 10.5.8 PPC.

Thanks loads!

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

2014-10-02 Thread Richmond
Can anybody tell me which versions of LiveCode build standalones that 
run on Mac Mavericks?


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

2014-10-02 Thread Graham Samuel
I'm using Mavericks 10.9.5 with LC 6.6.3 and generating standalones every day. 
The previous versions (Mav 10.9.4 and LC6.6.2) also worked fine, and probably 
earlier ones too.

HTH

Graham

Sent from my iPad

 On 2 Oct 2014, at 18:47, Richmond richmondmathew...@gmail.com wrote:
 
 Can anybody tell me which versions of LiveCode build standalones that run on 
 Mac Mavericks?
 
 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

___
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


Vector Gradients subtle regression

2014-10-02 Thread Alejandro Tejada
Hi All,

I am away from a reliable internet connection, (wireless connections
are excellent, but cost a lot) so if one of you already reported this
bug in the Quality Center, mail list or the forum, please include a
link in your answers to post all files uploaded with this message with
your own report. If there is no report about this bug, I already wrote
to Richard Gaskin, our Community Manager to report this regression in
the Quality Center.

Next week, l will read your messages in this thread.

Recently, while importing some SVG files with gradients created using
InkScape, I found a bug while rendering gradients in vector graphics.

Check the linked zip file (that includes two LiveCode stacks and two
small SVG files) where I explain the nature of the rendering bug. It's
a VERY subtle rendering bug, but effectively will cause many headaches
if you are trying to import SVG files with gradients. I have included
(among the linked files) an Alpha version of the original SVGL stack
with code to import ONLY Inkscape gradients.

Inside the zipped file, there are two simple SVG files created with
InkScape that you could import into LiveCode 6.1.2 and LiveCode 6.5 or
later (including version 7) to compare the differences.

Download from Google Drive:
https://drive.google.com/file/d/0B9ja3Yvw8cHLVU5MTzRjY1lwcGM/edit?usp=sharing

Have a nice week! :-)

Al

___
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


Dr. Lex 3D Stuff for LiveCode

2014-10-02 Thread Alejandro Tejada
Hi All,

How many of you are interested in
3D graphics and LiveCode?

Recently, Alexander Thomas invited LiveCode
Developers to port his HyperCard Stacks
to LiveCode:

Thanks for pointing me to LiveCode.
I have updated my HyperCard-related webpages
to refer to it and added a link to your page.

Unfortunately I have too little time nowadays
to port my old stacks, but if you think you can
port some of the stacks or know other people
who are willing to do it, go ahead.

This is Dr. Lex 3D stuff webpage:
http://www.dr-lex.be/software/3dstuff.html

In his webpage, there are links to his HyperCard stacks:
http://www.dr-lex.be/software/download/RotaterManipulater.sit
http://www.dr-lex.be/software/download/3D_Param_Eq.sit
http://www.dr-lex.be/software/download/PanoProjector.sit

Some years ago, with Alexander Thomas permission,
I created a version of his program: Rotater Manipulator.

http://andregarzia.on-rev.com/alejandro/stacks/Rotater_Manipulator_v1a.zip

If you have a Classic Mac and HyperCard, give a try
to his 3D stacks.

Have a nice week!

Al

___
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: Vector Gradients subtle regression

2014-10-02 Thread Richard Gaskin

Alejandro Tejada wrote:


If there is no report about this bug, I already wrote
to Richard Gaskin, our Community Manager to report this
regression in the Quality Center.


I believe I did get your email, but it came in during a very hectic 
period here, so my apologies for not getting back to you on that sooner.


I'm happy to help steward any issues where I can be of help, but please 
feel free to submit bug reports directly.


Bug reports can be submitted by anyone, and all good reports with 
repeatable recipes are welcome.


You can submit that report here:
http://quality.runrev.com/

--
 Richard Gaskin
 LiveCode Community Manager
 rich...@livecode.org

___
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


Conversion Chart

2014-10-02 Thread JB
Hi Richard,

I just posted you a message about Binary to Hex
conversion.  It included a chart but the message
was held because it is too long so if you want it
then ask the moderator.

The point is your code ability is great and the text
searching ln LiveCode is excellent.  To write code
that converts Binary to Hex all you do is get a chart
with a completer character set.  When your code
sees the binary 00100101 it finds that in the chart
and returns the 2 character Hex value in the chart
for that binary number.

I think you will have to agree after you wrote that
code it will take you more code to add the extra
characters and then you will also have to make
sure it is not on the same line.  It was not a issue
of returns because I would get only the 8 chars
on each line.  We all know mistakes come from
many different reasons but it is not due to the
type of text or the conversion process or it will
work wrong every time.

John Balgenorth

___
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: Mavericks

2014-10-02 Thread Francis Nugent Dixon
Hi from Beautiful Brittany,

Richmond,

LiveCode 5.5.4 - Build 1502

Mac OS Intel only - Windows (not tested - Haven’t got a PC !)

On Mavericks  10.9.5

No problem for building standalones !

Strange - Seems to loop forever in :

“Removing development properties and setting profile options”

but I clicked outside LiveCode and got  “Standalone App saved”
and the app works OK.

Best Regards

-Francis
___
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: Conversion Chart

2014-10-02 Thread JB
Here is another chart.


Hex - Binary
0
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F


The binary code is eight chars long.  The Hex code
is two chars long.  To convert from Binary to Hex you
use this chart.

Take a list of binary data and it will be a group of eight
char sections.  You take the first eight chars and now
you will be dealing with the first Hex char.  As I said
before Hex is numbers 0 to 9 and letters  A to F and
these letters can be upper or lower case but keep it
consistent.

Now that you have eight Binary digits that represent
one Hex value you take the first four binary digits and
convert them to the Hex value in the chart and then you
take the second four Binary digits and convert them to
the Hex value shown in the chart.  Now you have your
two digit Hex value.

John Balgenorth

___
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: Strip a ™ character

2014-10-02 Thread JB
LiveCode has a lot of potential and is enjoyable
to program with.

John Balgenorth



On Oct 2, 2014, at 12:58 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Thu, Oct 2, 2014 at 9:33 AM, JB sund...@pacifier.com wrote:
 
 Okay, I am sorry I misunderstood you.
 I do not like C or any of its form either.
 And I do not like all of the wasted text
 with curly braces.
 
 Now that Apple has released Swift it is
 a little easier than C but you still need to
 have a C background to use it.
 
 
 At this point, I would be unlike to use *any* tool that will only compile
 to one platform.  Writing once for mac/windows/linux is a large part of why
 I'm using livecode.
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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: RELEASE: LiveCode 6.6.4 RC1

2014-10-02 Thread Mike Kerner
screen size still fails on iphone 5 and 6

On Thu, Oct 2, 2014 at 1:44 PM, Richmond richmondmathew...@gmail.com
wrote:

 Thrilled to report that 6.6.4 rc1 while remaining iconless
 installs, launches and works on my iMac G5 running Mac OS 10.5.8 PPC.

 Thanks loads!

 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




-- 
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: Conversion Chart

2014-10-02 Thread Peter Haworth
I might be missing something but what's wrong with using the baseConvert
function?  It converts a number from any base to any base.

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html

On Thu, Oct 2, 2014 at 1:19 PM, JB sund...@pacifier.com wrote:

 Here is another chart.


 Hex - Binary
 0
 10001
 20010
 30011
 40100
 50101
 60110
 70111
 81000
 91001
 A1010
 B1011
 C1100
 D1101
 E1110
 F


 The binary code is eight chars long.  The Hex code
 is two chars long.  To convert from Binary to Hex you
 use this chart.

 Take a list of binary data and it will be a group of eight
 char sections.  You take the first eight chars and now
 you will be dealing with the first Hex char.  As I said
 before Hex is numbers 0 to 9 and letters  A to F and
 these letters can be upper or lower case but keep it
 consistent.

 Now that you have eight Binary digits that represent
 one Hex value you take the first four binary digits and
 convert them to the Hex value in the chart and then you
 take the second four Binary digits and convert them to
 the Hex value shown in the chart.  Now you have your
 two digit Hex value.

 John Balgenorth

 ___
 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: Strip a ™ character

2014-10-02 Thread Mark Wieder
JB sundown@... writes:

 
 It looks to me the code is good.  I guess
 someone decided they could Trade Mark ™
 Binary to Hex.
 
 In Hex it shows up as either a A or AA.  You
 would think it would always be AA since that
 is the Hex value for ™.

You haven't given a lot of information here, but my guess is that you're
stuck with Windows text files. Windows uses a crlf pair for line endings.
When you remove the cr part (relace return with empty) you're still left
with the line feed char, which is a hex 0x0A. To get rid of both carriage
returns and linefeeds in your data stream,

replace return with empty in theData
replace numtochar(0x0A) with empty in theData

then do your baseConvert magic.

Although if you're dealing with one binary string in a line I think you'd be
better off just converting a line at a time to start with.

-- 
 Mark Wieder
 ahsoftw...@gmail.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: Conversion Chart

2014-10-02 Thread JB
That is what I was using and it works for ascii to Hex, ascii to Binary,
Hex to ascii, Hex to binary, binary to ascii and then if you don’t have
a lot of characters and you only call it from one line it works for binary
to hex.  In other words don’t use if for binary to hex unless you only
are processing a few sets of 8 digit chars to hex and they are not
on different lines.  I even put them all on separate lines and only
took the eight chars so there were no returns to strip.  Any one
line out of many thousand will work but when you try to convert
another line it will not work but it might give you the appearance
that it worked.

John Balgenorth


On Oct 2, 2014, at 3:53 PM, Peter Haworth p...@lcsql.com wrote:

 I might be missing something but what's wrong with using the baseConvert
 function?  It converts a number from any base to any base.
 
 Pete
 lcSQL Software http://www.lcsql.com
 Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
 SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
 
 On Thu, Oct 2, 2014 at 1:19 PM, JB sund...@pacifier.com wrote:
 
 Here is another chart.
 
 
 Hex - Binary
 0
 10001
 20010
 30011
 40100
 50101
 60110
 70111
 81000
 91001
 A1010
 B1011
 C1100
 D1101
 E1110
 F
 
 
 The binary code is eight chars long.  The Hex code
 is two chars long.  To convert from Binary to Hex you
 use this chart.
 
 Take a list of binary data and it will be a group of eight
 char sections.  You take the first eight chars and now
 you will be dealing with the first Hex char.  As I said
 before Hex is numbers 0 to 9 and letters  A to F and
 these letters can be upper or lower case but keep it
 consistent.
 
 Now that you have eight Binary digits that represent
 one Hex value you take the first four binary digits and
 convert them to the Hex value in the chart and then you
 take the second four Binary digits and convert them to
 the Hex value shown in the chart.  Now you have your
 two digit Hex value.
 
 John Balgenorth
 
 ___
 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: Strip a ™ character

2014-10-02 Thread JB
I am using a Mac the text is straight from a field.
The text works fine with the other conversions.

John Balgenorth


On Oct 2, 2014, at 4:13 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 JB sundown@... writes:
 
 
 It looks to me the code is good.  I guess
 someone decided they could Trade Mark ™
 Binary to Hex.
 
 In Hex it shows up as either a A or AA.  You
 would think it would always be AA since that
 is the Hex value for ™.
 
 You haven't given a lot of information here, but my guess is that you're
 stuck with Windows text files. Windows uses a crlf pair for line endings.
 When you remove the cr part (relace return with empty) you're still left
 with the line feed char, which is a hex 0x0A. To get rid of both carriage
 returns and linefeeds in your data stream,
 
 replace return with empty in theData
 replace numtochar(0x0A) with empty in theData
 
 then do your baseConvert magic.
 
 Although if you're dealing with one binary string in a line I think you'd be
 better off just converting a line at a time to start with.
 
 -- 
 Mark Wieder
 ahsoftw...@gmail.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: Strip a ™ character

2014-10-02 Thread Mark Wieder
JB sundown@... writes:

 
 I am using a Mac the text is straight from a field.
 The text works fine with the other conversions.

The question isn't what platform you're working on, but the source of the
data. This is especially important if the source platform was different from
the working platform.

For instance, where did theData come from? Did you open a file and put it
into a text field? Did you type it into the field by hand? Did it come from
a serial port or other external device?

If it's in a file, you might try looking at it with a hex editor first
before doing any conversions... I'd lay money on the fact that you'll see
0x0a0d endings on each line.

-- 
 Mark Wieder
 ahsoftw...@gmail.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: Strip a ™ character

2014-10-02 Thread JB
I have a mac and I type the data into a field
using my keyboard.  It does not work right.
But I also have tried with files that are on
my mac and I have transferred them from
binary to ascii and then to binary code and
the conversions all work properly with all of
the files and typing except for binary to hex
which works if you are only using one line
and not too many characters which I did not
waste my time figuring out how many you can
use.

I do know you can type Mark into a field and
then transfer it to binary code and then put
that code into a field.  You can then transfer
that binary code to hex or ascii and it will
work.  The ascii will be Mark again and the
hex can be transferred to ascii and it will be
Mark and you can transfer the ascii to binary
and to ascii and it will be Mark again.

We did all of the conversions and you are still
Mark when we got done.  You are feeling good
and things are working nice!

Now you type Mark into the field and put a return
after your name.  Do all of the conversions except
the binary to hex.  You can even convert ascii to
hex and hex to binary and binary to ascii and you
will still be Mark.  Okay now using the same text
make it become binary using any transfer you want
to use.  Remember this is Mark with a return after it.
Now convert the binary to hex and use any path of
conversions to get it back to ascii and you will see
the name Mark and it will have the letters tm that are
real small and up in the air.  You are now Mark with a
trade mark symbol.  Of course if you type returns and
do not strip them and have more text some times it will
strip the return.  The best thing to do in file conversions
is strip the returns to prevent problems.

Now type Hello on one line
and type Mark on another line

you can get one line and when you
have processed it it will be fine but
if you get two lines even though you
only get the 0’s and 1’s because you
know how many their are you will end
up the the tm again.  Now type a return
and the name Mark and strip the return
with code and you will end up with tm and
Mark.  Try to strip the tm with code and you
cannot strip it out.

John Balgenorth


On Oct 2, 2014, at 5:30 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 JB sundown@... writes:
 
 
 I am using a Mac the text is straight from a field.
 The text works fine with the other conversions.
 
 The question isn't what platform you're working on, but the source of the
 data. This is especially important if the source platform was different from
 the working platform.
 
 For instance, where did theData come from? Did you open a file and put it
 into a text field? Did you type it into the field by hand? Did it come from
 a serial port or other external device?
 
 If it's in a file, you might try looking at it with a hex editor first
 before doing any conversions... I'd lay money on the fact that you'll see
 0x0a0d endings on each line.
 
 -- 
 Mark Wieder
 ahsoftw...@gmail.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: Strip a ™ character

2014-10-02 Thread Mark Wieder
JB-

lots of stuff snipped

I used your code. On a mac.
I put the following into a field:

10011011
10111001
10011011
10111001
10011011
10111001

I ended up with 9BB99BB99BB9

-- 
-Mark Wieder
 ahsoftw...@gmail.com

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.


___
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: RELEASE: LiveCode 6.6.4 RC1

2014-10-02 Thread Dave Kilroy
Running Mavericks and using 6.6.4 and Xcode 6.0.1 I can't get anything to run
on the iOS 8 simulator (simulated device of any size) - even a 'hello world'
stack made purely in 6.6.4 fails

However my 'hello world' and my current app-in-development seem to run fine
on an iPad4 running iOS 8.0.2 (but have not done exhaustive tests yet...)

Dave




-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-4-RC1-tp4684084p4684115.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


[ANN] mergExt New Releases

2014-10-02 Thread Monte Goulding
Dear LiveCoders

Today I'm releasing updates for all the mergExt iOS externals to support iOS 8. 
In addition there are a number of new features released today.
 - mergCL now includes geocoding and reverse geocoding commands and a distance 
between coordinates function.
 - mergMK now has commands to get and set annotation attributes and extra 
annotation options and messages
 - mergFTPD adds a FTP daemon to an app with one command which makes if very 
easy to manage a directory of files from the desktop version of your app or 
just from a regular FTP client.

With the addition of mergFTPD (sold separately for $9) mergExt Complete is 
amazing value with $913 worth of individual products for one price of $299.

I have also updated rrehardcopy for iOS 8. Unfortunately rrenarrator doesn't 
want to build in Xcode 6 and I don't want to take on maintenance of that 
external because of the quirky open source license it's distributed under I 
would need to rename it like I did with rremicrophone. When RunRev release a 
fix for rrenarrator I will re-include it in my build process to save people 
having to build it themselves.

Cheers

Monte

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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