I guess the line
require 'grid'
should also be placed inside conditional block.
Пнд, 20 Авг 2012, Henry Rich писал(а):
> Putting all that together, I come up with
>
>
> if. IFJ6 do. IFGTK =. -. IFJHS =. IFCONSOLE end.
> if. IFGTK *. -. IFJHS do.
> code for grid
> else.
> code for no grid
> en
The IFJHS seems redundant, what if,
if. IFJ6 do. IFGTK =. -. IFCONSOLE end.
if. IFGTK do.
Пнд, 20 Авг 2012, Henry Rich писал(а):
> Putting all that together, I come up with
>
>
> if. IFJ6 do. IFGTK =. -. IFJHS =. IFCONSOLE end.
> if. IFGTK *. -. IFJHS do.
> code for grid
> else.
> code f
To clarify, I was using the file loaded by JAL, not the svn checkout.
Marshall
On Mon, Aug 20, 2012 at 10:36 AM, bill lam wrote:
> Still not propset for either link.ijs or manifest.ijs, did you issue any
> propset cmd? I guess the config file only affect new files but you
> added the config _a
Putting all that together, I come up with
if. IFJ6 do. IFGTK =. -. IFJHS =. IFCONSOLE end.
if. IFGTK *. -. IFJHS do.
code for grid
else.
code for no grid
end.
I'll try that unless someone sees a problem.
Henry Rich
On 8/20/2012 7:55 PM, bill lam wrote:
I guess it is safe to assume shell s
These nouns are defined inside the file main/main/sysenv.ijs of the
base library repos.
Втр, 21 Авг 2012, bill lam писал(а):
> I guess it is safe to assume shell script run under jconsole, or use
> the verb isatty but which might not work under windows.
>
> nouns for test environments,
> jhs: IF
I guess it is safe to assume shell script run under jconsole, or use
the verb isatty but which might not work under windows.
nouns for test environments,
jhs: IFJHS
jconsole j602: IFCONSOLE
jconsole j701: IFGTK+:IFJHS
use IFJ6 to test for j602/j701
Пнд, 20 Авг 2012, Henry Rich писал(а):
> You
You're right, that's not what I meant.
I mean, I want to put a test in lint.ijs to branch around the grid code
if jconsole, jhs or shell scripts are running. I know I've seen traffic
here about variables that are set to indicate the operating environment,
but I don't even remember what to sea
(I may mis-read your question)
test script for addons are run differently in j602 and j701, in
j602, it is the TESTFILE in project manager. In J701 it is the
run.ijs in the source folder. You may checkout the tables/tara from
svn Public repo to see how it work.
Пнд, 20 Авг 2012, Henry Rich писал
Sure, I could just return the table of lines in error. What is the best
way to test for no grid? Or better, can you point me to where the test
is documented?
Henry Rich
On 8/20/2012 7:04 PM, bill lam wrote:
Now it is ok.
On the lint itself, it depends on grid, this make it impossible to
ru
Now it is ok.
On the lint itself, it depends on grid, this make it impossible to
run under jconsole, jhs or shell scripts. Could the grid be
optional?
Пнд, 20 Авг 2012, Henry Rich писал(а):
> OK, I've tried again, this time setting a property on the debug
> folder, removing the files, and puttin
OK, I've tried again, this time setting a property on the debug folder,
removing the files, and putting them back. Somewhere along the way
there was a message 'manifest is invalid' but I haven't been able to
make it repeat.
Is it building properly, and are the properties correct?
[TortoiseSV
Still not propset for either link.ijs or manifest.ijs, did you issue any
propset cmd? I guess the config file only affect new files but you
added the config _after_ initial import of those files. If there is
no propset command in tortoisesvn, you may try delete that 2 files
make a commit, then ad
native eol is ok and should be the correct choice. What I observed
is that none of your files have propset. I've forgetten how
tortoisesvn work, Can you confirm by cd to the debug/lint folder and
type the svn command
svn pget svn:eol-style *
to see propset done or not? If it prints nothing, then
I'm using TortoiseSVN. I selected the /debug directory in addons,
right-clicked|TortoiseSVN|Settings; then push Edit under 'Set
configuration file', and added the lines:
*.ijs = svn:eol-style=native
*.jproj = svn:eol-style=LF
*.ijp = svn:eol-style=LF
*.ijt = svn:eol-style=LF
*.txt = svn:eol-st
I checkout it with both git and svn, but all of your files are still
using CRLF. I checked your file did not propset eol-style. Which
svn client do you use? How did you force files commit using LF?
Вск, 19 Авг 2012, Henry Rich писал(а):
> I have made lint into an addon with its own directory. I
Line termination is good (LF's only, that is).
Marshall
On Sun, Aug 19, 2012 at 2:15 PM, Henry Rich wrote:
> I have made lint into an addon with its own directory. It seems to be
> there for J602, and, according to the log, for J701 as well. I fixed a
> couple of bugs in it too.
>
> I ran it
I have made lint into an addon with its own directory. It seems to be
there for J602, and, according to the log, for J701 as well. I fixed a
couple of bugs in it too.
I ran it on a program that had been in production for years and it found
an undefined-variable path that had never been seen
That sounds a good idea. It *should* be part of the base library.
Then we can have an extra button marked "Lint" on the File > Open... /
Open User... / Recent... and Run > File messageboxes
On Fri, Aug 17, 2012 at 11:55 AM, bill lam wrote:
> Alternatively, you may add it to J602 base library.
>
Alternatively, you may add it to J602 base library.
Птн, 17 Авг 2012, Henry Rich писал(а):
> Does that mean that if I create a folder for lint, it will be
> available in 602 also? OK, I'll do that.
>
> Henry Rich
>
> On 8/17/2012 1:18 AM, Ian Clark wrote:
> >Thanks, Ric.
> >I was unaware of tha
Does that mean that if I create a folder for lint, it will be available
in 602 also? OK, I'll do that.
Henry Rich
On 8/17/2012 1:18 AM, Ian Clark wrote:
Thanks, Ric.
I was unaware of that about /misc/ and might have fallen foul of it myself.
On Fri, Aug 17, 2012 at 6:09 AM, Ric Sherlock wro
Thanks, Ric.
I was unaware of that about /misc/ and might have fallen foul of it myself.
On Fri, Aug 17, 2012 at 6:09 AM, Ric Sherlock wrote:
> Just to expand on Bill's message. The /misc folders are
> treated differently from other addons. Whereas other addons have a
> manifest.ijs that lets the
Just to expand on Bill's message. The /misc folders are
treated differently from other addons. Whereas other addons have a
manifest.ijs that lets the author specify which platforms and versions to
target, the misc addons currently only get built for a single version. This
is currently 7.
On Aug 17
That addons is j7 specific. If the file was add to other folders, J602
might have a chance to see it.
Птн, 17 Авг 2012, Ian Clark писал(а):
> It doesn't seem to be there on j602.
>
> On Thu, Aug 16, 2012 at 9:42 PM, Henry Rich wrote:
> > I have tested it only on J6.02.
> >
> > Henry Rich
> >
>
It doesn't seem to be there on j602.
On Thu, Aug 16, 2012 at 9:42 PM, Henry Rich wrote:
> I have tested it only on J6.02.
>
> Henry Rich
>
>
> On 8/16/2012 9:51 AM, Ian Clark wrote:
>>
>> Is lint.ijs going to be available in j602 also?
>>
>> Package Manager lets me download it for JGTK. I've trie
I have tested it only on J6.02.
Henry Rich
On 8/16/2012 9:51 AM, Ian Clark wrote:
Is lint.ijs going to be available in j602 also?
Package Manager lets me download it for JGTK. I've tried running it
under j602 and it seems to work with the example I've tried, so there
can't be any major j7 depe
Is lint.ijs going to be available in j602 also?
Package Manager lets me download it for JGTK. I've tried running it
under j602 and it seems to work with the example I've tried, so there
can't be any major j7 dependencies.
On Mon, Aug 13, 2012 at 4:47 AM, Henry Rich wrote:
> Yes, I created a dire
Another one:
c) the Automated generation of the Wiki page that showed the JAL Build
Log doesn't appear to have updated since July 13th.
http://www.jsoftware.com/jwiki/JAL/Build%20Log
On Mon, Aug 13, 2012 at 3:45 PM, Ric Sherlock wrote:
> I think it was initially committed to addons/general/lint
Yes, I created a directory and then realized it would go as a single
file in /misc, and deleted the /lint directory.
Henry Rich
On 8/12/2012 11:45 PM, Ric Sherlock wrote:
I think it was initially committed to addons/general/lint/lint.ijs and
then subsequently moved? to addons/general/misc/lint
I can see Henry' commits and I also fix its eol and commited the
change. Did it commit to the old server?
$ svn info
Path: .
URL: http://www.jsoftware.com/svn/addons/trunk
Repository Root: http://www.jsoftware.com/svn/addons
Repository UUID: 7b1320e8-e022-0410-a07a-c339c07ae202
Revision: 3688
Nod
I think it was initially committed to addons/general/lint/lint.ijs and
then subsequently moved? to addons/general/misc/lint.ijs I can see it
there at the moment using WebSVN.
There are a couple of other things regarding WebSVN that would be nice...
a) can we get the RSS enabled (makes it easier
lint.ijs is not in addons/general/misc. Did you commit your changes?
AFAIK, JAL is working fine...
On Mon, Aug 13, 2012 at 10:10 AM, bill lam wrote:
> There are some problem with JAL build script perhaps related to the
> recent relocation of server to amazon. I think Chris will fix it.
>
> Вск
There are some problem with JAL build script perhaps related to the
recent relocation of server to amazon. I think Chris will fix it.
Вск, 12 Авг 2012, Henry Rich писал(а):
> I don't know what has to happen to make it show up in Package
> Manager. Bill would. Maybe some rebuild is required.
>
>
I don't know what has to happen to make it show up in Package Manager.
Bill would. Maybe some rebuild is required.
Perhaps you can check it out using SVN?
Henry Rich
On 8/12/2012 6:12 PM, Ian Clark wrote:
Sounds good, Henry. I certainly have a use for that.
But I can't see it in pacman for
Sounds good, Henry. I certainly have a use for that.
But I can't see it in pacman for either JGTK or j602.
On Sun, Aug 12, 2012 at 9:10 PM, Henry Rich wrote:
> I have an alpha-test version of a syntax checker for J scripts. It is in
> the addons, as
>
> general/misc/lint.ijs
>
> The goal is to
I have an alpha-test version of a syntax checker for J scripts. It is
in the addons, as
general/misc/lint.ijs
The goal is to catch errors before execution. It can find only gross
errors, but those are the kind my programming students make, so this is
progress IMO. What it looks for is:
35 matches
Mail list logo