Annotation of OpenXM/src/kan96xx/Doc/changelog-ja.tex, Revision 1.35
1.35 ! takayama 1: % $OpenXM: OpenXM/src/kan96xx/Doc/changelog-ja.tex,v 1.34 2013/09/26 05:33:06 takayama Exp $
1.1 takayama 2: \documentclass{jarticle}
3: \title{ChangeLog \\ ---kan96xx, kxx, k097}
4: \author{Nobuki Takayama}
5: \date{}
6: \begin{document}
7: \maketitle
8:
9:
10: %%OpenXM/doc/Papers/rims-2003-12* $B$K(B oxshell, polymake
11:
12: \section{2004-02, port $B2=(B}
13:
14: \begin{enumerate}
15: \item gmp $B$O%M%C%H%o!<%/$+$i%@%&%s%m!<%I$7$F%$%s%9%H!<%k$9$k$h$&$K$9$k(B.
16: {\tt OpenXM\_contrib} $B$O$D$+$o$J$$(B.
17: \item {\tt OpenXM/src/gmp/Makefile-ports} 1.1--1.5,
18: %%Mail/openxm-cvs.inbox 141
19: \end{enumerate}
20:
21: \section{2004-02, memory leak}
22: \begin{enumerate}
23: \item {\tt misc-2003/A2/bs-poly/bs2-leak.sm1} $B<B9T;~$K%/%i%$%"%s%H9=B$BN(B
24: $B$,2u$l$k(B. gmp 4.x $B$K$h$k%a%b%j%j!<%/$r5?$&$b(B, {\tt GC\_malloc} $B$r;H$&$Y$-$H$3$m$G(B
25: {\tt malloc} $B$rMQ$$$F$$$?$N$G%a%b%j$,GK2u$5$l$F$$$?$HH=L@(B.
26: {\tt malloc} $B$NCf$K%]%$%s%?$rF~$l$F$O$$$1$J$$(B.
27: \item {\tt OpenXM/src/kan96xx} $B0J2<$N3F%U%!%$%k(B.
28: {\tt Kan/kanExport1.c} 1.11,
29: {\tt Kan/poly3.c} 1.7,
30: {\tt Kan/shell.c} 1.11,
31: {\tt plugin/file2.c} 1.9 ($B860x(B),
32: {\tt plugin/oxKan0.h} 1.16,
33: {\tt plugin/sm1Socket.c} 1.16 ($B860x(B).
34: {\tt OpenXM/src/kxx/oxmain.c} 1.15.
35: %%Mail/openxm-cvs.inbox 164 2004-2-23
36: \end{enumerate}
37:
38: \section{2004-02, 03, ox\_texmacs}
39: \begin{enumerate}
40: \item sm1 $B$r4pAC$H$7$F(B ox\_texmacs $B$r:n$k(B. {\tt -q} option $B$GM>7W$J(B
41: $B%a%C%;!<%8$rI8=`=PNO$X=P$5$J$$$h$&$K$9$k(B. $B<!$N%U%!%$%k$rJQ99(B.
42: %%Mail/openxm-cvs.inbox 203, 204, 210, 213, 215, 220, 221, 222
43: \item {\tt OpenXM/src/util/ox\_pathfinder.c} 1.18--1.19,
44: {\tt OpenXM/src/util/ox\_pathfinder.h} 1.11,
45: {\tt OpenXM/src/kxx/ox100start.c} 1.6,
46: {\tt OpenXM/src/kan96xx/Doc/ox.sm1} 1.34--1.35,
47: {\tt OpenXM/src/kan96xx/Kan/ext.c} 1.23,
48: {\tt OpenXM/src/kan96xx/Kan/kanExport0.c} 1.21,
49: {\tt OpenXM/src/kan96xx/plugin/mytcpio.c} 1.14.
50: \item {\tt ox\_texmacs}.
51: {\tt OpenXM/src/kxx} $B0J2<$N<!$N%U%!%$%k$rJQ99(B.
52: \item {\tt ox\_texmacs.c} 1.1--1.17,
53: {\tt sample\_kanlib.c} 1.1,
54: \item {\tt init-openxm.scm} $B$N:n@.(B ($B>.86(B).
55: \end{enumerate}
56:
57: \section{2004-03, ox $B5!G=$N6/2=(B}
58: \begin{enumerate}
59: \item option $B$D$-$N4X?t$h$S$@$7(B.
60: %%Mail/openxm-cvs.inbox 286, 288 $B$^$@=q$$$F$J$$(B
1.2 takayama 61: \end{enumerate}
62:
63: \section{2004-07, dhecart (2$B=EF1;~2=$K$h$k(B gb)}
64: \begin{enumerate}
65: \item h[0,1](D) $B$G$N%0%l%V%J(B fan $B$N7W;;$N$?$a$N=`Hw(B.
66: \item Doc/dhecart.sm1, dh.gb
67: %%Mail/openxm-cvs.inbox ??
68: \end{enumerate}
69:
1.5 takayama 70: \section{2004-08-22, lcm, polylcm, gcd, polygcd, $B$=$NB>(B}
1.2 takayama 71: \begin{enumerate}
72: \item polylcm, polygcd $B$O(B ox $B$rMQ$$$k(B.
1.5 takayama 73: \item mpzext (lcm, gcd). int32 $B$O(B universalNumber (mpz\_int) $B$X<+F0JQ49(B.
1.2 takayama 74: \item ox.sm1 $B$O5/F0$N;~$+$i(B load $B$9$Y$-$@$,$^$@$d$C$F$J$$(B.
1.3 takayama 75: %%Mail/openxm-cvs.inbox ??
1.5 takayama 76: \item \verb@[(exponents) ...] gbext @ $B$G(B exponents $B$r<h$j=P$;$k(B. $B;O$a$NHG$O(B 8 $B7n:"(B.
77: \item {\tt exponents} $B$N(Bformat $B$rJQ$($?(B. (9/5. cf.gfan.sm1, cone.sm1) \\
78: {\tt OpenXM/src/kan96xx/Kan/kanExport1.c} 1.16.
1.3 takayama 79: \end{enumerate}
80:
81: \section{2004-08-31, weight $B%Y%/%H%k$G(B univNum $B$r<u$1<h$k(B}
82: \begin{enumerate}
1.4 takayama 83: \item {\tt to\_int32}, {\tt Kto\_int32} $B$G(B univNum $B$r(B int32 $B$X(B.
84: \item {\tt to\_int} $B$O(B {\tt to\_univNum} $B$KF1CM(B. $B$I$A$i$+$rGQ;_$7$h$&(B.
1.3 takayama 85: \item $BFbIt4X?t$NJQ99(B: {\tt KordWsAll()}, {\tt KsetUpRing()}, {\tt oInitW()}
86: \item $B%^%/%m(B: {\tt ord\_w}, {\tt weight\_vector}, {\tt s\_weight\_vector},
87: {\tt w\_to\_vec}, {\tt ecart.weight\_vector}, {\tt ord\_ws\_all}
88: \item $B%F%9%HJ}K!(B. cvs-eventail/aux-cone.sm1 $B$N(B test7 $B$rMQ$$$k(B.
1.2 takayama 89: %%Mail/openxm-cvs.inbox ??
1.5 takayama 90: \end{enumerate}
91:
92: \section{2004-09-5, error $B$*$h$S(B ctrl-C $B$G%^%/%m$N8F$S=P$7MzNr$rI=<((B(trace)}
93: \begin{enumerate}
94: \item {\tt traceShowStack()} $B$r8F$S=P$9$H8F$S=P$7MzNr$,I=<($5$l$k(B.
95: $BMzNr$rJ8;zNs$GLa$9(B.
96: \item \verb@ ctrlC_hook @ $B$N<B9TCf$K%(%i!<$r$*$3$9$H(B, ox103\_reset $B$,(B
97: $B$h$P$l(B, $B$3$l$,L58B%k!<%W$r@8$`(B. $B$3$l$rKI;_(B.
98: \item {\tt executeToken} $B$9$kA0$K4X?t$NL>A0$r(B trace $BMQ$N%9%?%C%/(B
99: {\tt TraceNameStack} $B$X(B push.
100: $B<B9T$,$*$o$l$P(B pop $B$9$k$3$H$K$h$j(B, $BMzNrI=<($r%3%s%H%m!<%k(B.
101: \item extension $B$GMzNr$N%/%j%"(B, $B6/@)I=<($,$G$-$k(B.
102: \item ctrl-C $B$GMzNr$NI=<((B, $B%/%j%"$r$9$k(B. $B$3$l$O3F(B ox server $B$GBP=h$NI,MW$"$j(B.
103: \item
104: {\tt OpenXM/src/kan96xx/Kan/ext.c} 1.24 \\
105: {\tt OpenXM/src/kan96xx/Kan/kanExport0.c} 1.30 \\
106: {\tt OpenXM/src/kan96xx/Kan/stackmachine.c} 1.15--1.18 \\
107: {\tt OpenXM/src/kan96xx/Kan/usage.c} 1.30 \\
108: {\tt OpenXM/src/k097/ox\_k0.c} 1.6 \\
109: {\tt OpenXM/src/kxx/ox\_texmacs.c} 1.19 \\
110: {\tt OpenXM/src/kxx/oxserver00.c} 1.15 \\
111: {\tt OpenXM/src/kxx/sample\_kanlib.c} 1.2
112: \end{enumerate}
113:
114: \section{2004-09-05, EUC$BEy(B 8-bit $B$NL>A0$r<u$1IU$1$k(B}
115: \begin{enumerate}
116: \item hash $BCM$N7W;;J}K!$K%P%0$,$"$C$?(B. hash $B$NCM$OIi$G$O$$$1$J$$(B.
117: \item {\tt OpenXM/src/kan96xx/Kan/stackmachine.c} 1.17
118: \end{enumerate}
119:
120:
121: \section{2004-09-05, $B%0%l%V%J(Bfan$B$N7W;;(B}
122: \begin{enumerate}
123: \item polymake $B$,I,MW(B. 9/1, 9/2, 9/3, 9/4 $B$N%N!<%H$b;2>H(B.
124: \item OpenXM $B$N(B cvs $B$X$N(B commit $B$OBg$-$$6h@Z$j$G(B.
125: $B:Y$+$$JQ99$O(B {\tt eventail/cone.sm1} $B$G(B.
126: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.1
1.6 takayama 127: \end{enumerate}
128:
129: \section{2004-09-05, $B%0%l%V%J(Bfan$B$N7W;;(B}
130: \begin{enumerate}
131: \item polymake $B$,I,MW(B. 9/1, 9/2, 9/3, 9/4 $B$N%N!<%H$b;2>H(B.
132: \item OpenXM $B$N(B cvs $B$X$N(B commit $B$OBg$-$$6h@Z$j$G(B.
133: $B:Y$+$$JQ99$O(B {\tt eventail/cone.sm1} $B$G(B.
134: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.1
135: \end{enumerate}
136:
137: \section{2004-09-09, 11, list $B$N6/2=(B}
138: \begin{enumerate}
139: \item array $B$N(B {\tt join} $B$r9T$&$H%a%b%j$NL5$@;H$$$,$O$2$7$$(B.
140: list $B$N(B {\tt cons} $B$rF3F~(B. rest $B$bF3F~(B. join $B$O;H$($k$,4m81(B.
141: \item
142: {\tt arrayToList}, {\tt listToArray} : $BJQ494X?t$r=`Hw(B.
143: \item {\tt get} $B$,%j%9%H$G$bF0$/$h$&$K(B.
144: \item {\tt Kan/dr.sm1} 1.35--1.36, 1.38 \\
145: {\tt Kan/extern.h} 1.24--1.25 \\
146: {\tt Kan/ext.c} 1.25 \\
147: {\tt Kan/kanExport0.c} 1.31--1.33 \\
148: {\tt Kan/list.c} 1.3--1.5 \\
149: {\tt Kan/primitive.c} 1.12 \\
150: {\tt Kan/smacro.sm1} 1.5 \\
151: {\tt Kan/usage.c} 1.32 \\
152: {\tt Kan/usage.sm1} 1.9
153: \end{enumerate}
154:
155: \section{2004-09-10, $B%3%s%^(B {\tt ,} $B$N07$$$NJQ99(B}
156: \begin{enumerate}
157: \item $B%3%s%^(B {\tt ,} $B$O$$$^$^$G%^%/%m$G$"$C$?$,(B, $B6uGr$H$7$F07$&$h$&$KJQ99$9$k(B.
158: \item $B%7%9%F%`$NJQ99$O0J2<$NDL$j(B. \\
159: {\tt Kan/scanner.c} 1.5--1.6 \\
160: {\tt Kan/scanner2.c} 1.4--1.5 \\
161: {\tt Kan/dr.sm1} 1.37 \\
162: {\tt Kan/smacro.sm1} 1.6
163: \item $B$=$NB>$O%i%$%V%i%jFbIt$G(B {\tt ,,} $B$r(B {\tt \_\_} $B$X(B,
164: {\tt ,,,} $B$r(B {\tt \_\_\_} $B$XJQ99$7$?(B.
1.7 takayama 165: \end{enumerate}
166:
167: \section{2004-09-11,12, infix operator $B$rF3F~(B}
168: \begin{enumerate}
169: \item {\tt getattr} $B$r2C$($?(B (step 1).
170: \item {\tt attr} $B$K(B {\tt ATTR\_INFIX} $BB0@-(B bit $B$rN)$F$F(B,
171: infix operator $B$H$9$k(B.
172: \item {\tt attr} $B$N(B PROTECT $BB0@-$r(B bit $B$G=hM}$9$k$h$&$KJQ99(B (step 2).
173: $B%F%9%H$O(B {\tt k0} $B$G(B
174: \begin{verbatim}
175: sm1(" [(getattr) /cons] extension :: ");
176: cons = 1;
177: \end{verbatim}
178: Warning $B$,I=<($5$l$k$+(B?
179: \item infix $BB0@-$,$"$k$H$-(B, {\tt getokenSM(GET)} $B$G<!$N(B token $B$rFI$_9~$_(B
180: $B$=$l$r(B {\tt executeToken} $B$7$F$+$i(B, infix $BB0@-$N$"$k%^%/%m$r<B9T$9$l$P(B
181: $B$$$$$+$H$$$&$H(B, $B$=$l$G$O(B top level $B$N=hM}$7$+$G$-$J$$(B.
182: $B$?$H$($P(B, tokenArray $B$r=gHV$K=hM}$7$F$$$k$h$&$J>l9g$O$@$a(B.
183: $B$h$C$F(B, {\tt executeToken} $B$NLa$jCM$N(B status $B$NCM$r(B
184: $BMQ$$$k(B. status $B$O(B {\tt loop} $B$+$i(B {\tt exit} $B$9$k$H$-$K$b;H$o$l$F$$$k(B
185: $B$N$G(B, status $B$NH=DjJ}K!$r8+D>$9I,MW$,$"$k(B.
1.8 takayama 186: \end{enumerate}
187:
188: \section{2004-09-13, $BItJ,E*$J(B ecart division}
189:
190: \noindent Debug $BMQ$N%G!<%?(B 1.
191: {\footnotesize \begin{verbatim}
192: [ [( (x Dx)^2 + (y Dy)^2 -1) ] (x,y)
193: [ [ (Dx) 1 ] [(x) -1 (y) -1 (Dx) 1 (Dy) 1]]
194: [(partialEcartGlobalVarX) [(x) (y)]] ] ecart.gb /ff set
195:
196: ff getRing ring_def show_ring
197:
198: \end{verbatim}
199: }
200:
201: \noindent Debug $BMQ$N%G!<%?(B 2.
202: {\footnotesize \begin{verbatim}
203: /ecart.checkOrder { 1 } def
204: [(DebugReductionEcart) 3] system_variable
205: [ [(1-x-y-z) (1-z)] (x,y,z)
206: [ [(y) -1 (z) -1 (Dy) 1 (Dz) 1] [(x) 1 (Dx) 1]]
207: [(partialEcartGlobalVarX) [(x)]] ] ecart.gb /ff set
208:
209: ff getRing ring_def show_ring
210:
211: [ [(1-z) (-x+1-y-z)] (x,y,z)
212: [ [(y) -1 (z) -1 (Dy) 1 (Dz) 1] [(x) 1 (Dx) 1]]
213: [(partialEcartGlobalVarX) [(x)]] ] /std set
214: (1+x^3) std ecartd.reduction
215: (x*y*z) std ecartd.reduction
216: \end{verbatim}
217: }
218: GlobalVarX $B$NJQ?t$K$D$$$F$O(B local order $B$G$O$$$1$J$$(B.
219: $BL58B%k!<%W$H$J$k(B.
220: {\tt ecart.checkOrder} $B$b=q$-D>$5$J$$$H$$$1$J$$(B.
221:
222: \begin{enumerate}
223: \item \verb@ ringp->partialEcart @ $B$O(B int $B$NG[Ns(B
224: \verb@ ringp->partialEcartGlobalVarX @ $B$ND9$5(B.
225: $B$3$NG[Ns$K(B local $B$G$J$$JQ?t(B (first weight $B$,(B non-negative $B$J(B x $BJQ?t(B) $B$N%j%9%H$rF~$l$k(B.
226: {\tt ecartGetEllPartial()} $B$GMxMQ$5$l$k(B.
227: \item Todo: ring $B$N%a%s%P(B {\tt ringInInputForm} $B$N3hMQ(B. ( weight vector $B$d(B
228: input $B7A<0$N(B ring $B$r(B object $B$H$7$F3JG<(B.
229: \item Todo: {\tt KgetRingInfo} $B$r<BAu$9$k(B. index $B$+$i(B $BJQ?t(B, $BJQ?t$+$i(B index $BEy(B.
1.1 takayama 230: \end{enumerate}
231:
1.9 takayama 232: \section{2004-09, {\tt ATTR\_EXPORT} $B$H(B {\tt RestrictedMode}}
233:
234: \noindent
235: $B8=:_$N(B RestrictedMode $B$K$O0J2<$N@H<e@-$,$"$k(B (2004.9.19).
236: \begin{verbatim}
237: (cohom.sm1) run
238: [(or_attr) 8 /gb] extension
239: [(or_attr) 8 /;] extension ;
240: [(RestrictedMode) 1] system_variable ;
241: [ [{(hello) message } ] (x,y) ] gb ;
242: hello <---- error $B$r5/$3$9A0$K(B {(hello) message} $B$,<B9T$5$l$F$7$^$&(B.
243: ERROR(sm):
244: << /name object def >> or << object /name set >>
245: \end{verbatim}
246: \noindent $B860x(B:
247: $B0z?t$K(B executableArray $B$rM?$($k$3$H$K$h$j(B, $BI>2A$,M^@)$5$l(B
248: {\tt ATTR\_EXPORT} bit $B$,%;%C%H$5$l$?4X?t$NI>2A$,$O$8$^$C$F$+$i(B
249: executableArray $B$,JQ?t(B {\tt arg1} $B$KBeF~$5$l(B, $B$=$NJQ?t$r(B scanner
250: $B$,I>2A$9$k$3$H$K$h$j(B, executableArray $B$,I>2A$5$l$k(B.
251:
252: \noindent $BBP:v(B:
253: {\tt isThereExecutableArrayOnStack(ob)} $B$G%9%?%C%/$r8!::$9$k$h$&$K$9$k(B.
254: \begin{verbatim}
255: (cohom.sm1) run
256: [(or_attr) 8 /gb] extension
257: [(or_attr) 8 /;] extension ;
258: 0 1 10 { pop pop } for
259: [(RestrictedMode) 1] system_variable ;
260: [ [{(hello) message } ] (x,y) ] gb ;
261: \end{verbatim}
262:
263: $B%F%9%H(B 2 ($B$3$A$i$O@5>o$KF0$/$O$:(B).
264: \begin{verbatim}
265: (ox.sm1) run
266: [(or_attr) 8 /fctr] extension
267: [(or_attr) 8 /pmat] extension ;
268: [(or_attr) 8 /;] extension ;
269: 0 1 10 { pop pop } for
270: [(RestrictedMode) 1] system_variable ;
271: [ (x^2-1) (x,y) ] fctr pmat ;
272: \end{verbatim}
1.10 takayama 273:
274: \section{2004-11-23, POST $B%Y!<%9$N(B cgiPolymake $BEy(B}
275:
276: \begin{enumerate}
277: \item
278: {\tt Kan/plugin/mytcpio.c} 1.15 \\
279: {\tt Kan/plugin/oxcgi.c} 1.7 \\
280: {\tt Kan/ext.c} 1.33 \\
281: {\tt Kan/Doc/cgi.sm1} 1.8--1.11 \\
282: {\tt polymake/cgi/cgi-polymake.sh} 1.3
283: \end{enumerate}
284:
285: GET $B$G$O<uEO$7$G$-$k%G!<%?$NNL$K@)8B$,$"$k$?$a(B,
286: POST $B%Y!<%9$KJQ99$7$?(B.
287: \begin{verbatim}
288: POST http://polymake.math.kobe-u.ac.jp/cgi-bin/cgi-asir.sh HTTP/0.9
289: Content-length: 20
290:
291: oxMessageBody=2-1%0A
292: \end{verbatim}
293:
294: POST $B$N%G!<%?$r$&$1$H$k$?$a(B,
295: \verb@ [(read) fd size] extension @
296: $B%7%9%F%`%3!<%k$r2C$($?(B.
297:
298: $B%7%9%F%`%3!<%k(B {\tt perror} $B$rMQ$$$F(B,
299: tcpip $B$N%(%i!<Ey$rI=<($9$k$h$&$K$7$?(B.
300: {\tt eventail/data/test32.sm1} $B$NESCf$N%(%i!<$O(B,
301: GET $B$G$O<uEO$7$G$-$k%G!<%?$NNL$K@)8B$,$"$k$?$a(B
302: $B5/$-$?$h$&$G$"$k$,(B, $BE,@Z$J%(%i!<%a%C%;!<%8$,$J$/$F(B
303: $B860x$N5fL@$K;~4V$,$+$+$C$?H?>J(B.
304:
305: {\tt misc-2004/11/cgi} $B$b;2>H$N$3$H(B.
306: Risa/Asir $B$N(B \verb@ set_secure_mode @ , \verb@ set_secure_flag @
307: $B$K$bBP1~Cf(B.
1.11 takayama 308:
309: \section{2004-12-16, gnuplot v4 $B$X$NBP1~(B.}
310:
311: \begin{enumerate}
312: \item 1.3-1.4 OpenXM/src/kan96xx/Doc/gnuplot.sm1
313: \item 1.11 OpenXM/src/kan96xx/plugin/file2.c
314: \item 1.6 OpenXM/src/kan96xx/plugin/file2.h
315: \item 1.6 OpenXM/src/kan96xx/plugin/file2.hh
316: \item 1.4 OpenXM/src/kan96xx/plugin/file2.sm1
317: \item 1.15 OpenXM/src/asir-contrib/packages/src/gnuplot
318: \end{enumerate}
319:
320: gnuplot $B$G(B mouse $B$rMxMQ$G$-$k$h$&$K$7$?$$(B.
321: $B$=$N$?$a(B, gnuplot $B$r(B batch mode $B$G$J$/(B,
322: interactive mode $B$GMxMQ$G$-$k$h$&$K$7$?(B.
323: http://www.gnuplot.info $B$K$"$C$?(B, $B%5%s%W%k%W%m%0%i%`(B
324: {\tt gpReadMouseTest.c} ({\tt misc-2004/12/misc})
325: $B$r;29M$K(B mkfifo, popen $BEy$rMQ$$$F<BAu$7$?(B.
326: mkfifo, popen $BEy$N%7%9%F%`%3!<%k$O(B plugin-file2 $B$X2C$($?(B.
327:
328: sm1 $B$G$d$k%F%9%H$N<j=g$O0J2<$N$H$*$j(B.
329: \begin{verbatim}
330: (gnuplot.sm1) run
331: plotstart.aux
332: (splot x**2-y**2;) gnuplot
333: plotstop.aux
334: \end{verbatim}
335:
336: Windows, Debian package $B$N(B build $B$N%F%9%H$O$^$@(B.
337: ({\tt gnuplot4ox} $B$O(B {\tt gnuplot} $B$K(B. {\tt gnuplot\_x11} $B$O(B {\tt libexec}
338: $B$N2<$X(B install $B$5$l$k$?$a(B.)
1.12 takayama 339:
340: Bug: {\tt plot\_dots} $B$G(B, $B7W;;$7$J$,$iI=<($9$k$H$$$&J}K!$,$&$^$/$$$+$J$$(B.
341: $BBg$-$J%G!<%?$rEO$9$H$&$^$/F0$+$J$$(B. cf. {\tt heat()}.
342:
343: \section{2005-01-23, EUC$BEy(B 8-bit $B$NL>A0$r<u$1IU$1$k(B. bug fix}
344: \begin{enumerate}
345: \item scanner2 $B$N(B bug $B$K$h$j(B, $B%H%C%W%l%Y%k0J30$G$O(B 8 bit $B$NL>A0$r$&$1$D$1(B
346: $B$J$+$C$?(B.
347: \item {\tt OpenXM/src/kan96xx/Kan/scanner2.c} 1.7
1.13 takayama 348: \end{enumerate}
349:
350: \section{2005-02-28, ox, bug fix}
351:
352: \begin{enumerate}
353: \item Engine $B$N$_$r(B quit $B$9$k$H(B control server $B$,;D$k%P%0(B.
354: $B2r7h(B: oxmain.c $B$G(B SIGCHLD $B$r<u$1<h$k$h$&$K$7$?(B.
355: \item Engine $B$r(B quit $B$7$F$7$^$C$?$"$H(B, Engine $B$G%G!<%?$r$*$/$m$&$H$9$k$H(B,
356: SIGPIPE $B$G(B $B%/%i%$%"%s%H$,=*N;$7$F$7$^$&%P%0(B.
357: \begin{verbatim}
358: (ox.sm1) run
359: sm1connectr
360: oxsm1.ccc (quit) oxsubmit
361: oxsm1.ccc oxpopcmo --> $B%/%i%$%"%s%H=*N;(B.
362: \end{verbatim}
363: $B$^$@40A4$K2r7h$7$F$J$$(B.
364: ox texmacs $B$,@5$7$/F0:n$9$k$N$+MW%F%9%H(B.
1.12 takayama 365: \end{enumerate}
1.14 takayama 366:
367: \section{2005-06-9, 16, attribute, options.}
368: \begin{enumerate}
369: \item $BA4$F$N(B object $B$K(B attr (attribute field) $B$r$D$1$?(B.
370: $B8zN($K4X$9$kD4::$O(B {\tt misc-2005/06/gfan/test1.sm1} (taka).
371: $B;~4VE*8zN($K$D$$$F$O$"$^$jLdBj$J$$(B.
372: \item $B9=B$BN$N(B {\tt attr} $B%U%#!<%k%I$r=i4|2=$9$k$?$a(B {\tt OINIT} $B%^%/%m$r(B
373: $B2C$($?(B. {\tt stackm.h}
374: $B=i4|2=$,$J$$$H(B segfault $B$9$k>l9g$b(B.
375: \item {\tt @s/2005/06/16-note.pdf} (taka) $B$K3+H/%a%b$"$j(B.
376: \item {\tt attr} $B$r(B {\tt groebner}, {\tt gb} $BEy$G3hMQ$9$k(B.
377: \end{enumerate}
378:
379: $B%=!<%9$NJQ99$OB?4t$K$o$?$k$N$G0lIt$N$_5-$9(B.
380: \begin{enumerate}
381: \item {\tt OpenXM/src/kan96xx/Kan/dr.sm1} 1.49, {\tt setAttribute} $BEy$N%^%/%m(B.
382: \item {\tt OpenXM/src/kan96xx/kan/gb.c} 1.10,11, {\tt groebner} $B$,(B attr $B$G(B gb $B$+$I$&$+$N>pJs$rLa$9(B.
383: \item {\tt OpenXM/src/kan96xx/Doc/hol.sm1} 1.23, gb, pgb, gb\_h $B$,(B option $B$r(B attr $B$G<u$1<h$l$k$h$&$K$9$kJQ99(B.
384: \end{enumerate}
385:
386: $BNc(B:
387: {\footnotesize
388: \begin{verbatim}
389: ob key getAttribute value
390: Example: [(x-1) (y-1)] (gb) 1 setAttribute /ff set
391: ff (gb) getAttribute ::
392:
393: ob getAttributeList attr-obj
394: Example: [(x-1) (y-1)] [(gb) 1] setAttributeList /ff set
395: ff getAttributeList ::
396:
397: sm1> [(x0,x1) ring_of_polynomials 0] define_ring
398: [(x0^2+x1^2-h^2). (x0 x1 -4 h^2).] /ff set ;
399: sm1>[ff [(gbCheck)]] groebner /gg set ;
400: 3.gbCheck failed.
401: Note that the result is NOT groebner basis.
402:
403: Completed.
404: sm1>gg getAttributeList ::
405: [ $gb$ , 0 ]
406:
407:
408: [ [( (x Dx)^2 + (y Dy)^2 + 1) ( x y Dx Dy -1)] (x,y)
409: [ [ (Dx) 1 ] ] ] [(gbCheck) 1] setAttributeList gb getAttributeList ::
410:
411: [ [[(h+x) (x^3 + 2 h^3 + 2 x h^2)] [(x) (x)]] (x)]
412: [(reduceOnly)] setAttributeList gb_h pmat
413:
414:
415: \end{verbatim}
416: }
1.15 takayama 417:
418: \section{2005-07-07, gfan.sm1}
419: \begin{enumerate}
420: \item Collar-Kalkbrener-Moll $B$N%"%k%4%j%:%`$r<BAu$7$?(B.
421: \item {\tt getNextCone}, {\tt ckmFlip}
422: \item {\tt cone.ckmFlip} $B$,(B 1 $B$N;~(B CKM $B%"%k%4%j%:%`$rMQ$$$k(B.
423: \item {\tt cone.DhH} $B$,(B 1 $B$N;~(B $\partial x = x \partial + hH$,
424: 0 $B$N;~(B $\partial x = x \partial + h^2$ $B$rA*Br(B.
425: {\tt cone.gb}, {\tt cone.reduction}, {\tt cone.gb\_gr}.
426: \item $B4XO"$9$k(B sm1 $BK\BN$NJQ99(B.
427: \item {\tt eventail/data/test35.sm1}, {\tt test36.sm1}.
428: \end{enumerate}
429:
430: \begin{enumerate}
431: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.10, 1.11.
432: \end{enumerate}
1.9 takayama 433:
1.16 takayama 434: \section{2005-07-18, Error Message}
435: \begin{enumerate}
436: \item $B%5!<%P$O%(%i!<$N0LCV$*$h$S%(%i!<$N0LCV$G$NFI$_9~$_%G!<%?$r(B
437: XML $B7A<0$GAw$k(B.
438: \begin{verbatim}
439: (ox.sm1) run sm1connectr
440: oxsm1.ccc (1 shell) oxsubmit
441: oxsm1.ccc oxpopcmo ::
442: \end{verbatim}
443: \item {\tt scanner.c}, {\tt scanner2.c} $B$G(B {\tt ScannerBuf} $B$K(B
444: $BFI$_9~$s$@%G!<%?$r=q$-9~$`(B.
445: \item {\tt stackmachineError()} $B$G(B
446: $BBg0hJQ?t(B {\tt MsgStackTrace}, {\tt MsgSourceTrace} $B$K=q$-9~$s$G$*$/(B.
447: \item {\tt kxx/sm1stackmachine.c} $B$N(B {\tt Sm1\_pushError2} $B$G(B,
448: $B>e$NBg0hJQ?t$K@_Dj$5$l$?%a%C%;!<%8$r$b$H$K(B, error package
449: $B$NJ8;zNs$K(B XML $B7A<0$G(B error message $B$r=q$/(B.
450: \item \verb@ [(traceShowScannerBuf)] extension :: @
451: \item Todo: {\tt executeToken} $B$NCf$^$G$_$J$$$H(B, $B$9$G$KDj5A$5$l$?4X?t$N$I$N0LCV$G%(%i!<$r5/$3$7$?$N$+$,$o$+$i$J$$(B.
452: \end{enumerate}
1.17 takayama 453:
454: \section{2006-01-26, -engineLogToStdout}
455: \begin{enumerate}
456: \item engine $B$r(B xterm $BFbIt$GF0$+$5$J$$$G8F$S=P$7$?%W%m%0%i%`(B
457: $B$NI8=`=PNO$X$D$J$$$@$^$^F0$+$9(B.
458: \begin{verbatim}
459: (ox.sm1) run
460: /Xm_engineLogToStdout 1 def
461: asirconnectr
462: ((x-2)^2). fctr ::
463: \end{verbatim}
464: \item cfep $B$X$NBP1~(B.
465: \begin{verbatim}
466: ox_texmacs --view cfep --engineLogToStdout
467: ox_texmacs --view debug --engineLogToStdout
468: \end{verbatim}
469: \end{enumerate}
470:
471: $B%=!<%9$NJQ99(B.
472: \begin{enumerate}
473: \item {\tt OpenXM/src/kan96xx/Doc/ox.sm1} 1.46
1.19 takayama 474: \item {\tt OpenXM/src/kxx/ox\_texmacs.c} 1.26
1.17 takayama 475: \item {\tt OpenXM/src/kxx/ox100start.c} 1.7
1.19 takayama 476: \item {\tt OpenXM/src/util/ox\_pathfinder.c, h} 1.30
1.18 takayama 477: \end{enumerate}
478:
479: \section{2006-01-30, class $B$N(B body $B$rF@$k(B.}
480: \begin{verbatim}
481: [1,2,3] (error) dc /ff set %%CLASSNAME_ERROR_PACKET $B$r@8@.(B. body$B$O(B[1,2,3]
482: ff (body) dc %% [class$B$N%?%0HV9f(B, class $B$N(B body object] $B$rLa$9(B.
483: --> [1,2,3]
484: \end{verbatim}
485: $B4XO"(B. {\tt KnewErrorPacketObj()}
486:
487: $B%=!<%9$NJQ99(B.
488: \begin{enumerate}
489: \item {\tt OpenXM/src/kan96xx/Kan/kclass.c} 1.6
1.19 takayama 490: \end{enumerate}
491:
492: \section{2006-02-01, $B?7$7$$(B error packet}
493: \begin{verbatim}
494: (ox.sm1) run
495: sm1connectr
496: oxsm1.ccc (1 shell) oxsubmit
497: oxsm1.ccc oxpopcmo ::
498: \end{verbatim}
499: \verb@ errorPacket (body) dc 3 get @ $B$,(B
500: $B%j%9%H(B($B%-!<%o!<%I(B,$BCM(B)$B$H$J$k(B. $B>l=j(B(where)$B$dM}M3(B(reason),
501: $B=hM}7O$K$h$C$F$O(B, line $B$d(B parse error $B$N>l=j(B.
502: $B4XO";v9`(B: misc-2005/A1/cfep.
1.20 takayama 503: {\tt oxclearstack}.
504:
505: ox\_texmacs $B$G(B tunnel channel 0 $B$X(B cfep $BMQ$N%(%i!<L?Na$rAw$k(B.
506: ({\tt outputStringToTunnel()})
507: \begin{verbatim}
508: ox_texmacs --view debug
509: !sm1;^E
510: 1 shell ^E
511: \end{verbatim}
1.19 takayama 512:
513:
514: $B%=!<%9$NJQ99(B.
515: \begin{enumerate}
516: \item {\tt OpenXM/src/kan96xx/Kan/stackmachine.c} 1.34
1.20 takayama 517: \item {\tt OpenXM/src/kan96xx/Doc/ox.sm1} 1.48
1.19 takayama 518: \item {\tt OpenXM/src/kxx/sm1stackmachine.c} 1.6
1.20 takayama 519: \item {\tt OpenXM/src/kxx/ox\_texmacs.c} 1.27
1.19 takayama 520: \item {\tt OpenXM/doc/OpenXM-specs/OX-RFC-103.oxw} 1.6
1.21 takayama 521: \end{enumerate}
522:
523: \section{2006-02-04, $B%a%C%;!<%8$N(B localization (ox$BMQ(B)}
524: $B%*%j%8%J%k(B {\tt misc-2005/A1/cfep/packages/misc}.
525: \begin{verbatim}
526: /localizedString.file (Resource/sm1-ja_JP.eucJP.sm1) def
527: localizedString.load %% $B<-=q$r%m!<%I$9$k(B.
528: [(parse) (ox.sm1) pushfile] extension
529: sm1connectr
530: oxsm1.ccc ( hoge ) oxsubmit
531: oxsm1.ccc oxpopcmo /e1 set
532: e1 translateErrorForCfep message %% $B%(%i!<(B obj $B$NK]Lu(B
533: \end{verbatim}
534: $B%(%i!<(B object $B$N9=B$(B.
535: [serial, $B6&DL%(%i!<HV9f(B, message, core]
536: $B6uMs$N$H$-$O(B, $-1$ $B$+(B null object.
537:
538: $B%=!<%9$NJQ99(B.
539: \begin{enumerate}
540: \item {\tt OpenXM/src/kan96xx/Kan/dr.sm1} 1.53, localizedString $B$rDI2C(B.
541: \item {\tt OpenXM/src/kan96xx/Doc/ox.sm1} 1.52, translateErrorForCfep $B$r=$@5(B
542: \item {\tt OpenXM/src/kan96xx/Doc/Resource} $BK]Lu$N$?$a$N%j%=!<%9(B.
543: \item {\tt OpenXM/src/kxx/Makefile.in} 1.36, Resource $B$r%3%T!<(B.
1.18 takayama 544: \end{enumerate}
1.22 takayama 545:
546: \section{2006-02-04, {\tt -authEncoding file} $B$N<BAu(B}
547:
548: OX-RFC-104 $B$N(B {\tt -authEncoding file} $B$r<BAu(B.
549: \begin{verbatim}
550: ~/.openxm/tmp.opt/c.txt --> 1435 (Do not put the newline character.)
551: ~/.openxm/tmp.opt/d.txt --> 1234
552: chmod 700 ~/.openxm/tmp.opt
553: ox -ox ox_sm1 -authEncoding file -passControl c.txt -passData d.txt
554: [(oxCreateClient) (localhost) 1300 1200 [(1435) (1234)]] extension ;
555: data ctrl ctrl data
556: \end{verbatim}
557:
558: cfep $B$G(B MyOpenGLView $B$N(B event $BF~NOMQ$N(B delegate ox server ``ox\_nextevent''
559: $B$O(B ox\_asir $B$N%5!<%P$G$"$k(B.
560: ``ox\_nextevent'' $B$O(B
561: MyOpenGLView $B$+$i(B NSPipe, NSTask $B$rMQ$$$F(B MyOpenGLView $B$N=PNO$r(B
562: stdin $B$G<u?.$G$-$k>uBV$G$J$$$H$$$1$J$$(B.
563: MyOpenGLView $B$O(B {\tt ox} $B$rMQ$$$F(B{\tt ox\_asir} $B$h$j$N=gJ}8~@\B3$r$^$DM=Dj(B.
564: \begin{enumerate}
565: \item {\tt OpenXM/src/kxx/oxmain.c} 1.22
566: \end{enumerate}
567:
1.23 takayama 568: \section{2006-12-21, UseDsmall option}
569:
570: \begin{enumerate}
571: \item {\tt OpenXM/src/kan96xx/Kan/output.c}
572: \item {\tt OpenXM/src/kan96xx/Kan/global.c}
573: \item {\tt OpenXM/src/kan96xx/Kan/kanExport0.c}
574: \item {\tt OpenXM/src/kan96xx/Kan/option.c}
575: \item {\tt OpenXM/src/kan96xx/Kan/usage.c}
576: \end{enumerate}
577:
578: {\tt makeDsmall()}.
579:
580: \verb@ [(UseDsmall) 1] system_variable @ $B$G(B
581: $B=PNO$N;~$@$1(B D $B$,>.J8;z$K$J$k(B.
582: asir \verb@ print_tex_form @ $B$r8F$S=P$9$?$aF3F~(B.
583:
1.24 takayama 584: \section{2007-6-3, mgkz}
585: \begin{enumerate}
586: \item {\tt OpenXM/src/kan96xx/Doc/gkz.sm1} 1.2
1.25 takayama 587: \item {\tt OpenXM/src/kan96xx/Doc/printhelp.sm1} 1.9
1.24 takayama 588: \end{enumerate}
1.22 takayama 589:
1.24 takayama 590: mgkz ($B%a%bE*$J?t3X%N!<%H$O(B misc-2006/04) $B%3%^%s%I$rDI2C(B.
591: Modified A-hypergeometric system $B$r@8@.(B.
1.25 takayama 592: printhelp.sm1 $B$K(B $B%-!<%o!<%I(B mgkz $B$rDI2C(B.
1.24 takayama 593:
594: $B%W%m%0%i%`:n@.J}K!$N%a%b(B.
595: $B$^$:(B, gkz $B$r(B mgkz $B$H$7$F%3%T!<(B.
596: \verb@ ( ) error @ $B$r%W%m%0%i%`$N3FItJ,$KF~$l$J$,$i(B,
597: [ ] mgkz $B$r<B9T$7$F(B, debug.
598: $B$9$k$HJQ?t$NCM$r4Q;!$G$-$F4JC1(B.
1.17 takayama 599:
1.26 takayama 600: \section{2009-8-26, gfan}
601: \begin{enumerate}
602: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.13
603: \end{enumerate}
604:
605: Grobner cone $B$G(B $B@~7?6u4V$r=|$$$?$b$N$N(B
606: $B<!85$,(B $1$ or $0$ $B$N;~$O@5$7$/F0:n$7$J$$(B.
607: $B$3$N;~$K(B $B%(%i!<%a%C%;!<%8$r=P$9(B.
608: (cf. taka: i-hg/crest09/Prog/fan1.sm1, fan2.sm1)
609:
1.27 takayama 610: \section{2009-9-4, gfan}
611: \begin{enumerate}
612: \item {\tt OpenXM/src/kan96xx/Doc/gfan.sm1} 1.17
613: \item {\tt OpenXM/src/kan96xx/trans/yy\_polymake.y} 1.5
614: \item {\tt OpenXM/src/kan96xx/trans/yylex\_polymake.c} 1.5
615: \item {\tt OpenXM/src/kan96xx/trans/data}
616: \end{enumerate}
617:
618: gfan.sm1 package $B$O(B polymake 2.0 $B$N=PNO$KBP$7$F$O@5$7$/F0:n$9$k(B.
619: $B$7$+$7(B 2.2, 2.3 $B$KBP$7$FF0:n$7$J$$(B.
620: {\tt trans/data/data1b.txt} $B$O(B 2.0 $B$N=PNO(B,
621: {\tt trans/data/data1.txt} $B$O(B 2.3 $B$N=PNO(B,
622: $BF~NO(B property $B$O(B INEQUALITIES $B$G(B FACETS $B$r(B $B=PNO(B property $B$H$7$F$$$k(B.
623:
624: {\tt trans/data/data2.txt} $B$O4JC1$JNc(B.
625:
626: 2.3 $B$G$O(B VERTICES $B$,(B UNDEF $B$H$J$k(B. $B$3$l$r@5$7$/(B parse $B$9$k$h$&$K(B polymake2tfb $B$r(B
627: $BJQ99$7$?(B.
628: \begin{verbatim}
629: ./polymake2tfb <data/data1.txt
630: \end{verbatim}
631: VERTICES $B$N=PNO$,$J$$$N$G(B, gfan.sm1 $B$G;H$($J$$(B.
632: gfan $B$O(B web service $B$r(B default $B$H8F$V$h$&$K$7$?(B.
633:
634: \verb@ (gfan) usage ; @ $B$,(B gfan $B$K$D$$$F$N@bL@$r=PNO$9$k$h$&$K$7$?(B.
635:
636: debug $BMQ$KJXMx$J%3%^%s%I(B.
637: \begin{verbatim}
638: oxshell.facets([[1,0,0],[1,2,0],[1,0,3],[1,1,1]]);
639: sm1.sm1(0,"/doPolymake load message "); OoHG $B$rFI$s$G$$$k$+(B, $B$$$J$$$+(B?
640:
641: [(keep_tmp_files) (1) ] oxshell $B:n6H%U%!%$%k$r(B /tmp or $TMP $B$KJ]B8(B.
642: rr (UNDEF) getNode ::
643: i-hg/crest09/Prog/fan*.sm1 (private)
644: \end{verbatim}
1.29 takayama 645: %$
1.27 takayama 646:
647: $B4X78$"$k(Bfiles.
648: Doc/cgi.sm1, trans/,
649:
650: oxshell $B$G(B polymake $B$r<B9T(B. $B=PNO$r(B tfb $B$KJQ49(B. $B$3$l$r(B sm1 object $B$K(B
651: k0 server $B$GJQ49(B ({\tt QuoteMode(1); }.
652:
653: trans/polymake.sm1 $B$O(B, $BAH$_9~$_%^%/%m$H$J$k(B.
654: doPolymake $B$O(B local $B$N$b$N$r8F$V(B.
655:
1.28 takayama 656: \section{2012-9-16, syz}
657:
658: syz $B$,B8:_$7$J$$>l9g$K(B syz (hol.sm1) $B$,(B warning $B$r=PNO$9$k7o(B.
659: getRing $B$r(B $B6u%j%9%H$KBP$7$F$d$C$F$$$k$3$H$,860x(B.
660: kanExport0.c $B$N(B data\_conversion $B$N(B key $B$r=PNO$9$k$3$H$K$h$j(B debug.
1.27 takayama 661:
1.29 takayama 662: \section{2012-10-29, doPolymake}
663:
664: doPolymake $B$N;EAH$_$r8+$F(B, $B=hM}$N(B bug $B$r=$@5$9$kM=Dj(B.
665: shell.c $B$K(B help $B$rDI2C(B.
666: \begin{verbatim}
667: [(parse) (cgi.sm1) pushfile] extension
668: /doPolymake {doPolymake.OoHG} def
669: [(keep_tmp_files) (1)] oxshell
670: /afo (Hello! ) def [(cat) (stringIn://afo)] oxshell
671: \end{verbatim}
672: {\tt \$TMP} $B$K(B $B:n6H%U%!%$%k$rJ]B8(B.
673: {\tt kan96xx/trans} $B$G(B $B%G!<%?7A<0$NJQ49(B.
674: $B:n6H%U%!%$%k$N@8@.$O(B
675: {\tt generateTMPfiles()} ({\tt util/ox\_pathfinder.c}).
676:
1.30 takayama 677: \section{2013-09-20, doPolymake}
678: bug fix. $BM-M}?t$r(B accept. oxshell $B$N%^%K%e%"%k$r99?7(B.
679:
680: class $B$NMxMQK!$r;W$$=P$9(B.
681: \begin{verbatim}
682: [(FACETS) (polymake.data(polymake.POINTS([[1,0,0],[1,1,0],[1,0,1],[1,1,1/2]])))]
683: doPolymake /rr set
684: rr 1 get /ff set
685: ff (array) dc :: % class $B$r(B array $B$XJQ49(B.
686: \end{verbatim}
687: {\tt primitive.c} $B$G(B class $B$r(B search.
688: KclassDataConversion() $B4X?t$rFI$a$P$h$$$3$H$,$o$+$k(B.
689: grep $B$9$k$H(B {\tt kclass.c} $B$rC5$;$P$$$$(B.
690: $B$3$3$K(B tag $B$,$$$m$$$m$"$k(B.
691: usage $B$K(B note-class $B$rDI2C(B.
692:
1.31 takayama 693: \section{2013-09-22, oxdecode\_post}
1.29 takayama 694:
1.31 takayama 695: mime $B7A<0$N(B post message $B$r(B URL encoding $B$KJQ49(B
696: (mime $B$NH=DjEy$O8=>u$J$s$A$c$C$F(B).
697: $B$3$l$G(B, reverse proxy $B7PM3$G$b@5>oF0:n(B.
698:
699: \begin{verbatim}
700: cat t.txt
701: FACETS POINTS
702: 1 0 0
703: 1 1 0
704: 1 0 1
705:
706: curl -F oxMessageBody=@t.txt http://polymake.math.kobe-u.ac.jp/cgi-bin/cgi-polymake.sh
707: \end{verbatim}
708:
709: \begin{verbatim}
710: library(RCurl);
711: postForm("http://polymake.math.kobe-u.ac.jp/cgi-bin/cgi-polymake.sh",
712: oxMessageBody="FACETS POINTS\n1 0 0\n1 1 0\n1 0 1")
713: [1] "POINTS\n1 0 0\n1 1 0\n1 0 1\r\n\nFACETS\n1 -1 -1\n0 1 0\n0 0 1\n\n
714: AFFINE_HULL\n\n\n_version 2.0\n_application polytope\n\n"
715: attr(,"Content-Type")
716: charset
717: "text/plain" "UTF-8"
718: \end{verbatim}
719:
720: {\tt cgiPolymake.log} $B$K(B 1 $B$rBeF~$7$F$*$/$H(B($B4{DjCM(B)
721: sm1log $B$G(B /tmp/sm1log.txt $B$K(B post message $B$r5-O?(B.
722: date $B4X?t$rDI2C(B.
1.32 takayama 723:
724: curl $B$rMQ$$$?8F$S=P$7$N%F%9%H(B.
725: \begin{verbatim}
726: (cgi.sm1) run
727: /cgiQueryPolymake { cgiQueryPolymake.curl } def
728: [(FACETS) (polymake.data(polymake.POINTS([[1,0,0],[1,1,0],[1,0,1],[1,1,1/2]])))] /ff set
729: ff doPolymake.OoHG /rr set
730: \end{verbatim}
1.33 takayama 731:
732: \section{2013-09-25, usePolymake.*}
733: polymake $B$N%9%$%C%A(B. version $B$K$h$j?6$kIq$$$,0c$&$N$GCm0U(B.
734:
735: $B3F<o(B log $B$N>l=j(B.
736: \begin{enumerate}
737: \item server side. {\tt /tmp/sm1log.txt}: cgi-post $B$N(B encoded $BJ8;zNs(B.
738: \item server side. cgi-polymake.sh $B$K(B tee $B$rDI2C$9$k$H(B, oxdecode\_post $BA0$NJ8;zNs$r(B
739: $BJ]B8$G$-$k(B.
740: \item client side. oxshell $B$G(B work file $B$r(B {\tt \$TMP} $B$K;D$9$K$O(B
741: oxshell $B$N(B usage $B$r8+$F(B, keep\_tmp\_files $B$r;H$&(B.
742: local $BHG$G$O(B {\tt @@@doPolymake.vars} $B$K5-O?$"$j(B.
743: asir $B$G$O(B {\tt polymake.log()} $B$K3JG<(B.
744: \item {\tt usePolymake.OoHG.curl} $B$N;~$O(B {\tt /tmp/sm1-q-cgi*.txt}
745: $B$K(B cgi $B$KLd$$9g$o$;$k;~$NJ8;zNs$,3JG<$5$l$k(B.
746: \end{enumerate}
747:
748: $B$J$*(B mac $BHG$O(B error $B$G(B bus error $B$r5/$3$9>l9g$"$j(B.
749: $B%5%s%W%k(B code $B$O(B, {\tt misc-2013/09/genpos/mac.sm1}.
750: $B$3$l$O(B ticket.
1.34 takayama 751:
752: screenflow $B$K$h$k3P$(=q$-$O(B,
753: fe $B$N(B {\tt /Movies/oxvh/2013-09-25-polymake}.
1.35 ! takayama 754:
! 755: \section{2015-10-10, cygwin64, msys64}
! 756:
! 757: cygwin64, msys64 $BBP1~(B.
! 758: \begin{enumerate}
! 759: \item gc $B$K$O(B patch. cygwin64 $B$N(B gc.h $B$O$9$G$K(B patch $B$,Ev$?$C$F$k(B.
! 760: $B$h$C$F(B gc $B$,99?7$5$l$?$i(B patch $B$OB?J,ITMW(B.
! 761: \item sigsetjmp $B$r(B {\tt \_setjmp} $B$K$7$J$$$H$?$H$($P(B
! 762: $BHyJ,:nMQAG4D$N3]$1;;$G(B segfault. $B860x$O$h$/$o$+$i$:(B.
! 763: \item string.h, stdlib.h $BEy$N(B prototype $B@k8@$r$7$F$*$+$J$$$H(B {\tt ox\_sm1} $B$,(B segfault.
! 764: \item msys $B$G$O(B cmd.exe $B$,?7$7$$(B window $B$r3+$+$J$$$N$G(B($BFf(B), mintty $B$r;H$&(B.
! 765: \end{enumerate}
! 766: fe $B$N(B {\tt /Movies/archive} $B$N(B bandicam $B$K$b5-O?(B.
! 767:
! 768: Todo, ctrl-C $B$,0lEY$7$+M-8z$G$J$$(B. sigaction $B$rMxMQ$9$k$Y$-(B?
! 769:
! 770: {\tt ox\_sm1} $B$N(B segfault $B$N(B debug
! 771: {\tiny
! 772: \begin{verbatim}
! 773: misc-2015/10/cygwin-for-sm1 $B$K(B
! 774: oxserver00-d.c Makefile-for-ox_sm1d tmp-o.txt $B$"$j(B.
! 775: tmp-o.txt $B$O(B ( (1).. (0).. div ) oxsubmit $B$G(B $B%(%i!<$r5/$3$9L?Na$r(B,
! 776: stream dump $B$7$?$b$N(B. cf. (ox.sm1) run (extension-oxLog) usage
! 777: oxpipe.c $B$r(B oxserver00.c $B$XAH$_9~$s$@$b$N(B. gdb $BMQ(B. ox_sm1d
! 778: 523 rm ox_sm1d
! 779: 525 make -f Makefile-for-ox_sm1d ox_sm1d
! 780: 526 ./ox_sm1d <tmp-o.txt
! 781:
! 782: cygwin, msys $B$N(B gdb $B$O(B run <file $B$,=PMh$J$$$3$H$KCm0U(B.
! 783: $ gdb ./ox_sm1d
! 784: GNU gdb (GDB) 7.9
! 785: Copyright (C) 2015 Free Software Foundation, Inc.
! 786: License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
! 787: This is free software: you are free to change and redistribute it.
! 788: There is NO WARRANTY, to the extent permitted by law. Type "show copying"
! 789: and "show warranty" for details.
! 790: This GDB was configured as "x86_64-pc-msys".
! 791: Type "show configuration" for configuration details.
! 792: For bug reporting instructions, please see:
! 793: <http://www.gnu.org/software/gdb/bugs/>.
! 794: Find the GDB manual and other documentation resources online at:
! 795: <http://www.gnu.org/software/gdb/documentation/>.
! 796: For help, type "help".
! 797: Type "apropos word" to search for commands related to "word"...
! 798: Reading symbols from ./ox_sm1d...done.
! 799: (gdb) break main
! 800: Breakpoint 1 at 0x10049b7b8: file oxserver00-d.c, line 37.
! 801: (gdb) run
! 802: Starting program: /home/Nobuki/OX4/OpenXM/src/kxx/ox_sm1d
! 803: [New Thread 11260.0x17c8]
! 804: [New Thread 11260.0x2e50]
! 805: [New Thread 11260.0x8ac]
! 806: [New Thread 11260.0x29d0]
! 807: [New Thread 11260.0x27b8]
! 808:
! 809: Breakpoint 1, main (argc=1, argv=0x24cb10) at oxserver00-d.c:37
! 810: 37 main(int argc, char *argv[]) {
! 811: (gdb) call dup2(open("tmp-o.txt",0),0)
! 812: // run <file $B$9$kBe$o$j(B. cf. stackoverflow [cygwin gdb pipe]
! 813: $1 = 0
! 814: (gdb) break Sm1_popErrorMessage
! 815: Breakpoint 2 at 0x100402720: file sm1stackmachine.c, line 205.
! 816: (gdb) continue
! 817: Continuing.
! 818: [New Thread 11260.0x2f84]
! 819: oxserver00-d.c for debug.
! 820: [New Thread 11260.0x2a28]
! 821: sm1>macro package : dr.sm1, 9/26,1995 --- Version 09/22, 2013.
! 822: sm1>macro package : module1.sm1, 1994 -- Nov 8, 1998
! 823: sm1 version : 3.050615
! 824: sm1 url : http://www.math.kobe-u.ac.jp/KAN
! 825: name = ox_sm1
! 826: sm1>---------------------------------------------------
! 827: engineByteOrder=0
! 828: Hello world.
! 829: Set EnvOfChildServer.
! 830: Set EnvOfStackMachine.
! 831:
! 832: mtag is 514 (serial=11) : OX_DATA
! 833: (CMO_STRING[4],[size=17],$ (1).. (0).. div $),
! 834: mtag is 513 (serial=12) : OX_COMMAND
! 835:
! 836: function_id is 268; SM_executeStringByLocalParser
! 837: KSexecuteString( (1).. (0).. div )
! 838:
! 839: ERROR(kanExport[0|1].c): KisInvalidRational(): zero division. You have f/0.
! 840: Trace: div<-;
! 841:
! 842: Breakpoint 2, Sm1_popErrorMessage (s=0x10049d084 "executeString: ")
! 843: at sm1stackmachine.c:205
! 844: 205 char *Sm1_popErrorMessage(char *s) {
! 845: (gdb) print s
! 846: $2 = 0x10049d084 "executeString: "
! 847: (gdb) print ErrorMessageMode
! 848: $3 = 2
! 849: (gdb) break popErrorStackByString
! 850: Breakpoint 3 at 0x1004033f0: file stackmachine.c, line 1445.
! 851: (gdb) continue
! 852: Continuing.
! 853:
! 854: Breakpoint 3, popErrorStackByString () at stackmachine.c:1445
! 855: 1445 char *popErrorStackByString(void) {
! 856: (gdb) list
! 857: 1440 }else{
! 858: 1441 return( (ErrorStack.ostack)[--(ErrorStack.sp)]);
! 859: 1442 }
! 860: 1443 }
! 861: 1444
! 862: 1445 char *popErrorStackByString(void) {
! 863: 1446 struct object obj = OINIT;
! 864: 1447 struct object eobj = OINIT;
! 865: 1448 eobj = popErrorStack();
! 866: 1449 if (ectag(eobj) != CLASSNAME_ERROR_PACKET) {
! 867: (gdb) break sGC_malloc
! 868: Breakpoint 4 at 0x1004035a0: file stackmachine.c, line 1510.
! 869: (gdb) continue
! 870: Continuing.
! 871:
! 872: Breakpoint 4, sGC_malloc (n=93) at stackmachine.c:1510
! 873: 1510 void *sGC_malloc(size_t n) { /* synchronized function */
! 874: (gdb) up
! 875: #1 0x000000010040276b in Sm1_popErrorMessage (s=0x10049d084 "executeString: ")
! 876: at sm1stackmachine.c:221
! 877: 221 a = (char *) sGC_malloc(sizeof(char)*(strlen(s)+strlen(e)+2));
! 878: (gdb) print s
! 879: $4 = 0x10049d084 "executeString: "
! 880: (gdb) print e
! 881: $5 = 0x6008d4d70 "\nERROR(kanExport[0|1].c): KisInvalidRational(): zero division. You have f/0."
! 882: // $B@5>o(B
! 883: (gdb) continue
! 884: Continuing.
! 885: 14 [main] ox_sm1d 11260 cygwin_exception::open_stackdumpfile: Dumping stack trace to ox_sm1d.exe.stackdump
! 886: [Thread 11260.0x2e50 exited with code 35584]
! 887: [Thread 11260.0x8ac exited with code 35584]
! 888: [Thread 11260.0x29d0 exited with code 35584]
! 889: [Thread 11260.0x2f84 exited with code 35584]
! 890: [Thread 11260.0x2a28 exited with code 35584]
! 891: [Inferior 1 (process 11260) exited with code 0105400]
! 892: (gdb) quit
! 893:
! 894: GC_malloc $B$d(B strcpy $BEy$,2x$7$$$H$K$i$`(B.
! 895:
! 896:
! 897: char * $B7O(B void * $B7O$N@k8@$J$7$,(B segfault $B$N860x(B?
! 898: strcpy $B$,JQ(B.
! 899:
! 900: kxx/serversm.h $B$K(B
! 901: #include <string.h>
! 902: void *sGC_malloc(int n);
! 903: $B$r2C$($k(B.
! 904: ./ox_sm1d <tmp-o.txt $B$,@5>o=*N;(B.
! 905: \end{verbatim}
! 906: } %% end tiny
! 907:
1.9 takayama 908: \end{document}
909:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>