Powered by Apache

CVS log for OpenXM/src/kan96xx/Kan/ext.c

[BACK] Up to [local] / OpenXM / src / kan96xx / Kan

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.50 / (download) - annotate - [select for diffs], Tue Oct 6 11:33:46 2020 UTC (4 years, 1 month ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (unified)

All causes of the warnings are fixed.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Sep 7 00:09:32 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.48: +6 -1 lines
Diff to previous 1.48 (unified)

[(quiet) 1] extesion  sets the global variable Quiet=1.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Mar 31 05:27:34 2016 UTC (8 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (unified)

mysig.c and mysig.h are moved to src/util and are installed under
OpenXM/lib and OpenXM/include.
mysignal is used in k097.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Mar 31 03:22:54 2016 UTC (8 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.46: +7 -6 lines
Diff to previous 1.46 (unified)

signal is replaced by mysignal for portability.
mysignal calls sigaction.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Sep 25 00:05:55 2013 UTC (11 years, 1 month ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (unified)

Fix the error that lvalue required as unary & operand which is reported on some compilers.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Sep 22 01:32:10 2013 UTC (11 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (unified)

Fix for old cc.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Sep 22 01:26:07 2013 UTC (11 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.43: +8 -1 lines
Diff to previous 1.43 (unified)

sm1log stores date info.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Dec 23 01:27:54 2012 UTC (11 years, 10 months ago) by takayama
Branch: MAIN
Changes since 1.42: +9 -3 lines
Diff to previous 1.42 (unified)

Added mac to ostype to automatically start safari.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Aug 30 04:17:17 2010 UTC (14 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (unified)

Added a prototype declaration
void *sGC_malloc(int);
(bug, caused troubles for 64 bit cpu's)

Revision 1.41 / (download) - annotate - [select for diffs], Tue Sep 27 06:10:43 2005 UTC (19 years, 1 month ago) by takayama
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_2_3_12, KNOPPIX_2006, DEB_REL_1_2_3-9
Changes since 1.40: +6 -1 lines
Diff to previous 1.40 (unified)

Any character can be used as a separator.

sm1>[(stringToArgv2) (abc ; pqr) (;)] extension ::
[    $abc $ , $ pqr$ ]

Revision 1.40 / (download) - annotate - [select for diffs], Tue Sep 27 05:46:50 2005 UTC (19 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.39: +6 -1 lines
Diff to previous 1.39 (unified)

stringToArgv decomposes a given string to a set of words.

sm1>[(stringToArgv) (hoge hoge   fuge )] extension /ff set ;
sm1>ff ::
[    $hoge$ , $hoge$ , $fuge$ ]

Revision 1.39 / (download) - annotate - [select for diffs], Mon Jul 18 10:55:16 2005 UTC (19 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.38: +10 -1 lines
Diff to previous 1.38 (unified)

Error messages are returned by XML from the server.
Example:
   (ox.sm1) run sm1connectr
   oxsm1.ccc (1 shell 1 2 add ) oxsubmit
   oxsm1.ccc oxpopcmo ::

Class.ErrorPacket [    12 , -1 , $<ox103:error_message><ox103:message>executeString: Usage:length</ox103:message><ox103:stack_trace>Trace: length<-shell<-;</ox103:stack_trace><ox103:source_trace>1 shell 1 2 add</ox103:source_trace></ox103:error_message>$ ]

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jul 3 11:08:53 2005 UTC (19 years, 4 months ago) by ohara
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (unified)

Fixed grammatical problem for gcc4.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 16 06:21:21 2005 UTC (19 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.36: +7 -7 lines
Diff to previous 1.36 (unified)

ob key getAttribute value
Example: [(x-1) (y-1)] (gb) 1 setAttribute /ff set
         ff (gb) getAttribute ::

ob getAttributeList attr-obj
Example: [(x-1) (y-1)] [(gb) 1] setAttributeList /ff set
         ff getAttributeList ::

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jun 16 05:07:23 2005 UTC (19 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.35: +9 -6 lines
Diff to previous 1.35 (unified)

The initialization of the variables of the type struct object
are added.  It is necessary to initialize the field "attr"
(object attribute) of stuct object.  cf. misc-2005/06/gfan/opt.sm1 test2.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jun 9 05:46:57 2005 UTC (19 years, 5 months ago) by takayama
Branch: MAIN
Changes since 1.34: +13 -1 lines
Diff to previous 1.34 (unified)

putAttribute and getAttribute are installed, but they have not yet been tested.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Dec 21 03:25:04 2004 UTC (19 years, 10 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_3
Changes since 1.33: +6 -2 lines
Diff to previous 1.33 (unified)

rm fname --> unlink(fname) in order to be OS independent.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 23 01:37:47 2004 UTC (19 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.32: +26 -2 lines
Diff to previous 1.32 (unified)

GET method ---> POST method.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 17 12:32:11 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.31: +7 -1 lines
Diff to previous 1.31 (unified)

A bug fix of ox_launch via ssh.
My hostname was not passed to the remote ox command.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Sep 16 23:53:44 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.30: +8 -1 lines
Diff to previous 1.30 (unified)

Several small changes.
1. Changed an algorithm of oxGenPass.
2. The operator "." is equivalent to "exec" when the argument is an executable
   array.  Example.  { 1 2 add }. message
3. The function [(or_attrs) literal] extension is added.
   In strictMode in var.sm1, or_attrs is called instead of chattrs to
   protect all pre-defined symbols.  The function strictMode is called
   from k0 when it starts.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Sep 14 01:57:15 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.29: +91 -1 lines
Diff to previous 1.29 (unified)

usages accepts regular expressions.
Example:
sm1>[(.*[Aa]rray.*)] usages ::
$[isArray , ExecutableArrayP , ArrayP , maxInArray , arrayToList , listToArray]$

A new function for regular expressions:
 [(regexec) regular_expression string_array] extension

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 12 01:32:08 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.28: +17 -1 lines
Diff to previous 1.28 (unified)

Introducing infix operators. Step 4.
Infix operators work in the top level.
/+ { add } def
[(or_attr) 4 /+] extension
[ 3 + 4 ] ::

Revision 1.28 / (download) - annotate - [select for diffs], Sat Sep 11 23:49:34 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (unified)

Change for infix operators.
Step 2. attr field are used in bit-wise.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Sep 11 12:13:41 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.26: +13 -1 lines
Diff to previous 1.26 (unified)

Starting of introducing infix operators in sm1.
The introduction requires a global change of executeToken() and may
cause serious bugs.
So, the commits will be done step by step.
Step1.
"getattr" is introduced.
/ff { (hello) message } def
[(chattr) 2 /ff] extension
[(getattr) /ff] extension ::

Revision 1.26 / (download) - annotate - [select for diffs], Thu Sep 9 08:50:12 2004 UTC (20 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (unified)

The message "Child process ... is exiting" is supressed
when Verbose_waitpid = 0.

Added the following functions to gfun.sm1.
A sample input.
printGrobnerFan, saveGrobnerFan,  inputForm.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Sep 9 03:14:46 2004 UTC (20 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.24: +10 -1 lines
Diff to previous 1.24 (unified)

join and rest call C functions Kjoin() and Krest() instead of
sm1 macros.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 4 11:25:58 2004 UTC (20 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.23: +12 -1 lines
Diff to previous 1.23 (unified)

A backtrace is presented in case of an error.
New commands:
 [(traceShowStack)] extension str
 [(traceClearStack)] extension null.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 28 13:39:42 2004 UTC (20 years, 8 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (unified)

Quiet mode is ready;  sm1 -q

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 25 23:14:35 2004 UTC (20 years, 8 months ago) by takayama
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (unified)

Corrected a wrong use of errno.
From man errno;
 errno  is defined by the ISO C standard to be a modifiable
       lvalue of type int, and must not be  explicitly  declared;
       errno  may  be a macro.  errno is thread-local; setting it
       in one thread does not  affect  its  value  in  any  other
       thread.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Dec 6 02:49:22 2003 UTC (20 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.20: +6 -1 lines
Diff to previous 1.20 (unified)

Supporting -,*,/,^ in the QuoteMode.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Dec 4 07:49:24 2003 UTC (20 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (unified)

"doPolymake" calls polymake to make several constructions for polytopes.
[action data_in_polymake_tfb_format] doPolymake
         [result_in_tfb result_in_tree errors]
polymake, polymake2tfb, ox_k0 must be installed.
Example:
 [(FACETS) (polymake.data(polymake.POINTS([[1,0,0],[1,1,0],[1,0,1],[1,0,0]])))]
         doPolymake /rr set

Revision 1.19 / (download) - annotate - [select for diffs], Wed Dec 3 01:21:43 2003 UTC (20 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (unified)

The command shell:which is moved to a part of the primitive command
oxshell.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Nov 24 12:38:17 2003 UTC (20 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (unified)

Added a new function KoxWhich();

Examples:
sm1>[(shell:which) (sm1)] extension ::
$/home/taka/OpenXM/bin/sm1$
sm1>[(shell:which) (hoge)] extension ::
Error: oxWhich_unix: could not find it in the path string.
%[null]
sm1>[(shell:which) (shell.c) (/home/taka/OpenXM/src/kan96xx/Kan)] extension ::
$/home/taka/OpenXM/src/kan96xx/Kan/shell.c$

Revision 1.17 / (download) - annotate - [select for diffs], Mon Nov 24 02:13:40 2003 UTC (20 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (unified)

Added some interfaces to sm1 tree objects;
treeCreateElement, treeGetDocumentElement, treeGetAttributes, treeGetChildNodes.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Aug 26 12:46:05 2003 UTC (21 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.15: +16 -1 lines
Diff to previous 1.15 (unified)

An experimental version of ecart.minimalBase which translates
a graded matrix into the minimal base in D^h.
See ecart.minimalBase.test for an example input.

The sygyzy computation by ecartd.gb contains a bug, which has not yet been
fixed.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 21 13:36:41 2003 UTC (21 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.14: +20 -1 lines
Diff to previous 1.14 (unified)

[(getServerEnv) ox_server_name] extension returns the full pathes for
ox_servers and aux-command files.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 14 12:49:52 2003 UTC (21 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.13: +8 -3 lines
Diff to previous 1.13 (unified)

command execve
or
[arg0 arg1 arg2 ...] execve
It executes command by the system call execve.
cf. forkExec, system, system-csh

Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 10 07:00:05 2002 UTC (22 years ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_2
Changes since 1.12: +14 -2 lines
Diff to previous 1.12 (unified)

It was possible to exploit any file through httpd on Kan/sm1
under some conditions.
The vulnerability is now removed.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 24 05:19:50 2002 UTC (22 years ago) by takayama
Branch: MAIN
Changes since 1.11: +43 -1 lines
Diff to previous 1.11 (unified)

[(regionMatches) string stringArray] extension
finds words in the stringArray in the string.
Example: [(regionMatches) (Hello world) [(llo) (morning)]] extension
returns [2 (llo) 0].

Revision 1.11 / (download) - annotate - [select for diffs], Sat Aug 3 03:35:40 2002 UTC (22 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (unified)

Fixed a bug of memory allocation for environmental string.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 28 02:48:16 2002 UTC (22 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.9: +12 -1 lines
Diff to previous 1.9 (unified)

getenv(ENV) checks the value of the environmental variable uppercase(ENV)
if the running operating system is Windows and getenv(ENV) returns NULL.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 24 10:27:18 2002 UTC (22 years, 8 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_1
Changes since 1.8: +13 -4 lines
Diff to previous 1.8 (unified)

setjmp --> sigsetjmp
longjmp --> siglongjmp

Revision 1.8 / (download) - annotate - [select for diffs], Tue Aug 21 14:12:46 2001 UTC (23 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (unified)

[(ostype)] extension tells the underlying operating system for kan/sm1
is windows or unix.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 10 13:48:38 2001 UTC (23 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.6: +10 -4 lines
Diff to previous 1.6 (unified)

Trying to launch ox_asir from sm1 on Windows (TM), but there remain troubles.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 9 22:13:58 2001 UTC (23 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.5: +11 -7 lines
Diff to previous 1.5 (unified)

Added a temporary turn-around for a trouble of fork and exec on cygwin  (BUG).
Example: [(forkExec) [(/bin/ls)] [  ] 3] extension ;

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 4 01:06:23 2001 UTC (23 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.4: +130 -130 lines
Diff to previous 1.4 (unified)

indent-region and untabify.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 9 12:04:52 2000 UTC (24 years, 8 months ago) by takayama
Branch: MAIN
CVS Tags: maekawa-ipv6, RELEASE_1_1_3, RELEASE_1_1_2
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (unified)

Size of a file can be obtained by [(stat) (filename)] extension.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 24 12:33:47 2000 UTC (24 years, 8 months ago) by takayama
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (unified)

The option for security level is introduced to work as a server
for web cite.
If you turn on the secure option by [(SecureMode) 1] system_variable,
then you cannot execute shell commands, cannot open files, and
cannot open TCP/IP ports.
Once you turn on the option, you cannot turn off.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 16 07:55:38 2000 UTC (24 years, 9 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_20000124
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (unified)

Congratulation of sm1 version 3.* !

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Oct 8 02:12:02 1999 UTC (25 years, 1 month ago) by maekawa
Branch: OpenXM
CVS Tags: ALPHA
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (unified)

o import OpenXM sources

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 8 02:12:02 1999 UTC (25 years, 1 month ago) by maekawa
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>