Search found 27 matches

by unya
Tue Oct 16, 2012 2:59 pm
Forum: newLISP and the O.S.
Topic: PgSQL:connect/connectdb (postgres.lsp)
Replies: 7
Views: 2924

Re: PgSQL:connect/connectdb (postgres.lsp)

Thank you Lutz,

I appreciate your advice, grateful for taking the time.

Have a nice weekend.
by unya
Tue Oct 16, 2012 11:07 am
Forum: newLISP and the O.S.
Topic: PgSQL:connect/connectdb (postgres.lsp)
Replies: 7
Views: 2924

Re: PgSQL:connect/connectdb (postgres.lsp)

Hello Lutz, new PgSQL:query function - extended with parameter, and compatible. ;; Example execute (PgSQL:query "select $1||$2" "abc" "def") (PgSQL:fetch-all) ; -> (("abcdef")) (PgSQL:query "select $1 + $2" 10 20) (PgSQL:fetch-all) ; -> (("30")) (PgSQL:query "select $1::timestamp + $2::interval" "20...
by unya
Tue Oct 16, 2012 1:34 am
Forum: newLISP and the O.S.
Topic: PgSQL:connect/connectdb (postgres.lsp)
Replies: 7
Views: 2924

Re: PgSQL:connect/connectdb (postgres.lsp)

Thanks Lutz,

Thank you for adding, I took a look at the changes.

I think about the query and I wish I could propose Parameterized query function.
by unya
Mon Oct 15, 2012 8:42 am
Forum: newLISP and the O.S.
Topic: PgSQL:connect/connectdb (postgres.lsp)
Replies: 7
Views: 2924

More ADDED Re: PgSQL:connect/connectdb (postgres.lsp)

Hi, add more useful function PgSQL:fnumber added, with extend PgSQL:fetch-value. PgSQL:fnumber - returns column number. PgSQL:fetch-value - column number or column name. "create table test (key integer, value text)" key | value -----+------- 1 | xx 2 | yy (PgSQL:query "SELECT * FROM test") ;; all ca...
by unya
Mon Oct 15, 2012 6:56 am
Forum: newLISP and the O.S.
Topic: PgSQL:connect/connectdb (postgres.lsp)
Replies: 7
Views: 2924

PgSQL:connect/connectdb (postgres.lsp)

Hello Lutz, I tried to add a new connectdb fixes and connect: PgSQL of module postgres.lsp. The reason is that the parameters are omitted and for postgres PQconnectdb is possible, depending on the version parameter is increased. PgSQLconnect is (C library "libpq"), has been changed in order to allow...
by unya
Fri Oct 12, 2012 6:13 am
Forum: newLISP and the O.S.
Topic: cgi.lsp Patch HTTP POST parameter
Replies: 1
Views: 1307

cgi.lsp Patch HTTP POST parameter

Hi all, It is a patch that can get a POST Parameter for function CGI:get. it works this form. <form action="/cgi-bin/post-data.cgi" method="POST" enctype="multipart/form-data"> <input type="checkbox" name="checkbox1" value="val1"/>val1<br/> <input type="checkbox" name="checkbox1" value="val2"/>val2<...
by unya
Thu Feb 17, 2011 4:06 pm
Forum: newLISP in the real world
Topic: Windows Exe (made by link.lsp) could not read self exe-file.
Replies: 3
Views: 931

Re: Windows Exe (made by link.lsp) could not read self exe-f

Thank you, Lutz.

"MBSC" is typo in CHANGES-10.3.1.txt, it's "MBCS".

Regards,
by unya
Wed Feb 16, 2011 6:56 am
Forum: newLISP in the real world
Topic: Windows Exe (made by link.lsp) could not read self exe-file.
Replies: 3
Views: 931

Windows Exe (made by link.lsp) could not read self exe-file.

Hello, Japanese (or CJK) may be environmental issues, UT8 version had problems with the execution. 1. executable (module link.lsp made from) will not run correctly from the Japanese path. Failure to read encrypted lisp code from self-execution file. --> patch - self exeutable-filepath-name UTF-8 on ...
by unya
Mon Oct 04, 2010 8:18 am
Forum: newLISP newS
Topic: newLISP development release v.10.2.16
Replies: 8
Views: 2803

Re: newLISP development release v.10.2.16

Hello Lutz,

Windows Japanese Code Page is "MS932".

wrong code page in "newLISP-10.3-Release.html" -> "Bug fixes" -> "...Japanese language characters from Windows Code Page MS392 ....".

I noticed this time,too late sorry.

Thanks,
by unya
Mon Oct 04, 2010 7:49 am
Forum: newLISP Graphics & Sound
Topic: TextTableWidget - JTable base
Replies: 9
Views: 7959

Re: TextTableWidget - JTable base

Thank you Lutz,

it's nice.
by unya
Wed Sep 29, 2010 2:31 am
Forum: newLISP Graphics & Sound
Topic: TextTableWidget - JTable base
Replies: 9
Views: 7959

Re: TextTableWidget - JTable base

Thank you Lutz,

It was good that I can contribute a little.
by unya
Tue Sep 28, 2010 4:48 pm
Forum: newLISP Graphics & Sound
Topic: TextTableWidget - JTable base
Replies: 9
Views: 7959

Re: TextTableWidget - JTable base

A similar problem occurred in my environment. many java files are changed, because Asynchronous Java Listener action-handler event was to obtain data for the abnormal situation that had been run more than one. Add a socket and asynchronous events run to solve the problem, I tried to separate the eve...
by unya
Wed Sep 22, 2010 4:17 am
Forum: newLISP Graphics & Sound
Topic: TextTableWidget - JTable base
Replies: 9
Views: 7959

Re: TextTableWidget - JTable base

Thanks Lutz, for interest.

I modified code, and add function spec. (may be spec information is poor, sorry)
by unya
Tue Sep 21, 2010 8:24 am
Forum: newLISP Graphics & Sound
Topic: TextTableWidget - JTable base
Replies: 9
Views: 7959

TextTableWidget - JTable base

Hello all, I tried to add features TextTableWidget based JTable. (cell value is string only!) ;;; text-table function in text-table-demo.lsp did not change guiserver.lsp. (gs:text-table ID action ["ColumnName 1" ...]) (gs:text-table ID row column "value") (gs:text-table-get-cell ID row col) (gs:text...
by unya
Thu Aug 12, 2010 1:23 pm
Forum: newLISP Graphics & Sound
Topic: guiserver not work UTF8 encoding
Replies: 15
Views: 8885

Re: guiserver not work UTF8 encoding

thank you Lutz and Johu.
by unya
Thu Aug 12, 2010 1:28 am
Forum: newLISP Graphics & Sound
Topic: guiserver not work UTF8 encoding
Replies: 15
Views: 8885

Re: guiserver not work UTF8 encoding

Thank you Lutz and Johu. newlisp-10.2.13.tgz is working without -Dfile.encoding=UTF8. I tried test delete "if (guiserver.UTF8) { ... }" from all Java source(base 10.2.12). It's working without "-Dfile.encoding=UTF8". Users can selectable Java running environment ,UTF8(with "-Dfile.encoding=UTF8") or...
by unya
Wed Aug 11, 2010 4:12 pm
Forum: newLISP Graphics & Sound
Topic: guiserver not work UTF8 encoding
Replies: 15
Views: 8885

Re: guiserver not work UTF8 encoding

Thank you, Lutz and johu, I have more idea. Encoding system environment because Java is running on the mind may be led to convert the character stream. I was investigated, NewLisp is UTF8, Java is a mismatch in the MS932 is happening. (Java returns fontname is "MS932" via base64-enc) So even though ...
by unya
Wed Aug 11, 2010 2:16 am
Forum: newLISP Graphics & Sound
Topic: guiserver not work UTF8 encoding
Replies: 15
Views: 8885

Re: guiserver not work UTF8 encoding

Created for the Japanese version of the test "widget-demo-jp.lsp" Attach.

In addition, to add the image.
Russian and Japanese versions of the image,-Dfile.encoding = UTF8 is the result of running put.
by unya
Tue Aug 10, 2010 8:06 am
Forum: newLISP Graphics & Sound
Topic: guiserver not work UTF8 encoding
Replies: 15
Views: 8885

Re: guiserver not work UTF8 encoding

Found this problem. JAVA is a string class that determines the default coding environment. UTF8 string is clear that the problem would be solved. LabelWidget.java guiserver.java and tried to change, then LabelWidget.java (diff) $ diff -u LabelWidget.java.org LabelWidget.java --- LabelWidget.java.org...
by unya
Tue Aug 10, 2010 2:15 am
Forum: newLISP Graphics & Sound
Topic: guiserver not work UTF8 encoding
Replies: 15
Views: 8885

Re: guiserver not work UTF8 encoding

I tried only Label/ListBox widget. I'll check... I tried your patch. fontname can see(or read) on Windows Terminal, but it should not be see(or read) UTF8 fontname. the guiserver returns MS932 fontname when java started without option. P.S. I've tried "System.setProperty("file.encoding", "UTF8")", N...
by unya
Mon Aug 09, 2010 7:15 am
Forum: newLISP Graphics & Sound
Topic: guiserver not work UTF8 encoding
Replies: 15
Views: 8885

Re: guiserver not work UTF8 encoding

I know, but Java(guiserver.jar) socket port encoding is 'MS932'. My newlisp running/compiled with UTF8 on Windows XP. newLISP v.10.2.12 on Win32 IPv4/6 UTF-8, execute 'newlisp -h' for more info. java version "1.6.0_21" Java(TM) SE Runtime Environment (build 1.6.0_21-b07) Java HotSpot(TM) Client VM (...
by unya
Fri Aug 06, 2010 10:30 am
Forum: newLISP Graphics & Sound
Topic: guiserver not work UTF8 encoding
Replies: 15
Views: 8885

guiserver not work UTF8 encoding

Hello, Java(guiserver.jar) need start option "-Dfile.encoding=UTF8". I tried add setProperty() in guiserver(main), but NOT WORK.(Java BUG?) System.setProperty("file.encoding", "UTF8") and "UTF-8" Added java start option. the changed work font-name demo. ---- guiserver.lsp changed ---- (define (init ...
by unya
Fri Aug 06, 2010 1:43 am
Forum: newLISP Graphics & Sound
Topic: password entry - extend gs:text-field
Replies: 4
Views: 5123

Re: password entry - extend gs:text-field

I saw the changed, and nice sample.

Thank you,
by unya
Wed Aug 04, 2010 12:50 am
Forum: newLISP Graphics & Sound
Topic: password entry - extend gs:text-field
Replies: 4
Views: 5123

Re: password entry - extend gs:text-field

Hello Lutz,
Thanks for interest this patch.

attached source includes "guiserver.lsp", "TextFieldWidget.java", "Dispatcher.java".

Thank you.
by unya
Tue Aug 03, 2010 10:16 am
Forum: newLISP Graphics & Sound
Topic: password entry - extend gs:text-field
Replies: 4
Views: 5123

password entry - extend gs:text-field

Hello All, gs: key-event, gs-set-text when you use a password because you have to build on a string, you may get a little annoying. JPasswordField using the text-field guiserver tried changing features. Thanks, ---- Ex 1 ---- (gs:text-field 'PassField 16) (gs:set-echo-char 'PassField "*") ---- Ex 2 ...