Unexpected External Call Back...

2017-04-07 Thread Robert ListMail via 4D_Tech
I have an inherited Mac, 4D v15.4 database where a certain interprocess variable was unexpectedly undefined. Then one method said it could not be executed. After setting a couple of key trace statements, I noticed that the variable was not populated (the smoking gun) and that "External Call

Unexpected Command Key Shortcuts (15.4)

2017-04-07 Thread Robert ListMail via 4D_Tech
It seems that the 4D v15.4 command key shortcuts changed on me while in use…. Restoring to a factory preset did not help the situation. Note that "Go to line" is Command-L instead of opening a form, the usual behavior. The unexpected shortcuts using v15.4 Client/Server:

Re: EXECUTE the cooperative (illegal) code in the preemptive (multi-core) context.

2017-04-07 Thread David Adams via 4D_Tech
Andreas, can you tell me what code you used that generated an error? I'd like to reproduce that. Okay, super weird findings. I'm not sure what the behavior is meant to be. Yesterday, I spent 5-10 minutes setting up a new scratch database to test this stuff out a bit. I created a preemptive

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Douglas von Roeder via 4D_Tech
Jeffrey: Hmm, well that puts a little different light on this issue, eh? My point of contact was pretty certain that 12.6 will resolve the printing issue. Guess we'll find out next week. :-) -- Douglas von Roeder 949-336-2902 On Fri, Apr 7, 2017 at 1:09 PM, Jeffrey Kain via 4D_Tech <

Re: EXECUTE the cooperative (illegal) code in the preemptive (multi-core) context.

2017-04-07 Thread David Adams via 4D_Tech
On Fri, Apr 7, 2017 at 11:09 PM, Andreas Overmeyer via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I got an error message from 4D > I got nothing. No error, no crash, and the code didn't run. I was using single-user, macOS, V16 - what were you using?

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Jeffrey Kain via 4D_Tech
I don't remember 4D fixing the "tiny text" thing in v12 -- I thought it was something that ended up getting fixed in Windows. -- Jeffrey Kain jeffrey.k...@gmail.com > On Apr 7, 2017, at 4:08 PM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Tim: > > "4D v12.6 (final

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Douglas von Roeder via 4D_Tech
Tim: "4D v12.6 (final version) was released October 8th 2013. Windows 10 was initially released July 20th 2015." Thanks for that info. I checked out the cert matrix for 12.5 vs 12.6 and 12.6 is a no go with 8.1 but, as you point illustrate, Win 10 didn't exist when 12.6 shipped. Some users have

Re: [offish]WIndows 10 - phone home info

2017-04-07 Thread Kirk Brooks via 4D_Tech
I'll add my voice to Little Snitch. I've been using it for the last three years or so and can't imagine going without it on my personal system. It's robust but easy to configure and gets regularly updated. On Fri, Apr 7, 2017 at 12:28 PM, Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote: >

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Douglas von Roeder via 4D_Tech
Jim: Thanks for the heads up. This client is using the "built client" and "built server" apps so I wonder if the "broken 4D link" file will be an issue. -- Douglas von Roeder 949-336-2902 On Fri, Apr 7, 2017 at 10:46 AM, Jim Hays via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi Doug, > > We

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Tim Nevels via 4D_Tech
On Apr 6, 2017, at 2:39 AM,Douglas von Roeder wrote: > A client using V12.5 is starting to adopt Windows 10 and has asked about > going to V12.6 since the newer version, apparently, resolves "the Windows > 10 tiny print problem that 12.5 has." > > The Cert Matrix for 12.6 states that 12.6 is

RE: 4D Server Crashes When Tracing Buggy Web Connection Code

2017-04-07 Thread Timothy Penner via 4D_Tech
Aloha Sannyasin, I probably sound like a broken record talking about the compiler so much, but I really wanted to comment on this: > As this is an internal database for our non-profits, it’s run in interpreted > mode, so no compiler checking done. > I do a decent amount of the programing (for

Re: 4D Server Crashes When Tracing Buggy Web Connection Code

2017-04-07 Thread Sannyasin Siddhanathaswami via 4D_Tech
Thanks! I’ll be using both of those tips. I haven’t used On Error Call much, but will look into it. At a minimum, I want: “On Error, don’t crash my server!" Sannyasin Siddhanathaswami On Apr 7, 2017, 9:12 AM -1000, wrote: Sannyasin, Two things: I make it a habit to check for -1 anywhere I'm

Re: 4D Server Crashes When Tracing Buggy Web Connection Code

2017-04-07 Thread Kirk Brooks via 4D_Tech
Sannyasin, Two things: I make it a habit to check for -1 anywhere I'm using Find in array... it just bites me if I don't. For methods that run on the server, or even better for processes that run on the server, wrap them in an On err call method that lets you manage the errors yourself. Like not

Re: 4D Compiler

2017-04-07 Thread Kirk Brooks via 4D_Tech
Nigel, I went through a similar process several years ago when I changed the compile settings on a rather extensive database to 'all variables are typed.' I forget the number but it was a lot. Daunting. I forget how much time I spent on it but it turned out to be much less than I thought it

RE: 4D Server Crashes When Tracing Buggy Web Connection Code

2017-04-07 Thread Sannyasin Siddhanathaswami via 4D_Tech
Aloha, Yes. The crash did happen when accessing an array with a negative index! If that’s the only thing that causes the crash, I can be extra careful about that and do checks. Thanks for pointing this out. And yes, I wrote that serious bug. :) As this is an internal database for our

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Jim Hays via 4D_Tech
Hi Doug, We ship and use v12.6 on Windows 10. One problem 12.6 has that a 4Dlink file to the server won't remember name and password. (This is something we use for automated testing, so we run those tests with 12.5). Jim On Wed, Apr 5, 2017 at 6:48 PM, Douglas von Roeder via 4D_Tech <

RE: 4D Compiler

2017-04-07 Thread Timothy Penner via 4D_Tech
69,000 typing errors will not necessarily require 69,000 code modifications... For example, if you have an untyped variable $a in a method, and in that method you use the variable 100 times. With 'all variables are typed' this would be reported as 100 typing errors. If you type that variable at

Re: 4D Compiler

2017-04-07 Thread Herr Alexander Heintz via 4D_Tech
This is where strict variable nomenclature with typing info helps a lot. You can easily create a method that can gather all locals in a piece of code, and add the declarations at the top of a method. You can even apply that automatically using METHOD GET CODE and METHOD SET CODE. OTOH if you have

RE: 4D Compiler

2017-04-07 Thread Timothy Penner via 4D_Tech
Nigel, > I tried David Adams suggestion of trying ‘all vars are declared’ and at 69000 > errors decided that was not the way to go! You really should try to fix those...That is 69,000 places that 4D is guessing what the variable type should be - instead of you explicitly telling 4D what the

EXECUTE the cooperative (illegal) code in the preemptive (multi-core) context.

2017-04-07 Thread Andreas Overmeyer via 4D_Tech
I got an error message from 4D von unterwegs gesendet > Am 07.04.2017 um 02:52 schrieb 4d_tech-requ...@lists.4d.com: > > - 4D's is meant to EXECUTE the cooperative (illegal) code in the > preemptive (multi-core) context. > > What happens? Not what I feared, not what I expected, not what I

Re: 4D Compiler

2017-04-07 Thread Chip Scheide via 4D_Tech
anywhere you may use: - Execute Formula - other means of indirect code execution. Method(s), code stored in data for example On Fri, 07 Apr 2017 09:30:38 +0100, Nigel Greenlee via 4D_Tech wrote: > Can anyone think of other examples where a var might be used in a way > that does not show up in

Re: 4D Compiler

2017-04-07 Thread Chip Scheide via 4D_Tech
Not copyable is not exactly true ;) On Thu, 06 Apr 2017 20:34:59 -0500, Tim Nevels via 4D_Tech wrote: > >>> When he wrote 4D Compiler back in 1990 I thought he was a >>> programming god... >> >> So did ACIUS, given the original pricing. > > I don’t remember the 4D Compiler 1.0 price. Was it

Re: Preemptive execution question

2017-04-07 Thread Chip Scheide via 4D_Tech
I have not read any more of this thread... I am not able to use these commands... What should happen: - 4D should throw an error (interseptable by On Err) on the computer that caused the problem (i.e. client or server) - abort the illegal code block. SO if the error occurs inside some looping

Re: 4D Server Crashes When Tracing Buggy Web Connection Code

2017-04-07 Thread npdennis via 4D_Tech
> What compiler settings do you use? Do you have the range checking ON (top option in the compiler settings)? If not you should. -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.com

[Blog News] Accessing remote Log Files

2017-04-07 Thread Herr Alexander Heintz via 4D_Tech
Hi Folks, If you ever needed a system to access the logs folder of any given user of your system, here ist you solution: http://blog.heintz.net/view-log-files-not-only-local-ones/ Have fun and feedback is welcome

RE: 4D Server Crashes When Tracing Buggy Web Connection Code

2017-04-07 Thread Epperlein, Lutz (agendo) via 4D_Tech
To be honest, I don't understand these problems. Our main product relies heavily on the 4D webserver on the server, for years. So far there aren't any serious problems. If there are any, we wouldn't use 4D anymore. And running the webserver on a client isn't an option for us. The only problem

Re: Listbox row select

2017-04-07 Thread Jeremy Roussak via 4D_Tech
Unless the listbox is not focusable, in which case the selected row has the highlight colour all the time. I think. Jeremy Jeremy Roussak j...@mac.com > On 7 Apr 2017, at 01:23, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > in general, selected list items are grey when

Re: 4D Compiler

2017-04-07 Thread Nigel Greenlee via 4D_Tech
Douglas. Yes that is kind of what i thought and can remember the old days so would kind of expect it to have failed after one of those passes and-when you have fixed of type x get more but that really was not what i saw-i had syntax errors( to many” }"or “)” etc) and variables re-declared

Re: 4D Compiler

2017-04-07 Thread Nigel Greenlee via 4D_Tech
Tim I bow to your knowledge on this. I only go back as far as version 2.5 of 4D and in my first year of work did not have the compiler. I suspect there is little of the original David Hemmo code in the current compiler now. > On 7 Apr 2017, at 02:34, Tim Nevels via 4D_Tech