From: <cli...@li...> - 2011-08-20 12:04:44
|
Send clisp-cvs mailing list submissions to cli...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/clisp-cvs or, via email, send a message with subject or body 'help' to cli...@li... You can reach the person managing the list at cli...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of clisp-cvs digest..." CLISP CVS commits for today Today's Topics: 1. clisp: Implement RFE#3384688: use OS facilities to print os-error (cli...@li...) 2. clisp: * src/makemake.in (LIBS): prepend ${GLLIB_A} before -lws2... (cli...@li...) 3. clisp: fixup 15522:eafb54143f18 for win32 (cli...@li...) ---------------------------------------------------------------------- Message: 1 Date: Fri, 19 Aug 2011 16:51:34 +0000 From: cli...@li... Subject: clisp: Implement RFE#3384688: use OS facilities to print os-error To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/eafb54143f18 changeset: 15522:eafb54143f18a0da551927174a861c8fedda59ab user: Sam Steingold <sd...@po...> date: 2011-08-19 12:46:12 -0400 description: Implement RFE#3384688: use OS facilities to print os-error * src/condition.lisp (try-coerce-to-condition): special handling of NIL datum for the sake of OS-ERROR & its subclasses (os-error): add $CODE slot and :REPORT option (os-error-win32, os-stream-error, os-file-error): new conditions, subclasses of OS-ERROR (simple-os-error): remove (%defclcs): remove OS-ERROR -> SIMPLE-OS-ERROR map * src/lispbibl.d (cint_white_p): do not export (condition_t): remove os_error (OS_file_error): signal OS-FILE-ERROR, not SIMPLE-FILE-ERROR * src/constsym.d (simple_os_error): remove (os_error, os_file_error, os_stream_error, strerror): add (os_error_win32, format_message) [WIN32|CYGWIN]: add * src/subr.d (strerror): add (format_message) [WIN32|CYGWIN]: add * src/error.d (end_error): for os_stream_error, os_file_error, os_error, os_error_win32: reset errstring (known as datum to COERCE-TO-CONDITION, see above) to NIL; complete :CODE (error_code_converter_t, convert_error_code): add (OS_filestream_error): signal OS-ERRORs, not SIMPLE-ERRORs * src/errunix.d (os_error_t, get_errormsg): remove (STRERROR): preliminary implementation: required numeric argument (OS_error, OS_error_arg): push errcode on STACK for the :CODE argument (errno_out_low): use ANSIC_error_code_converter & strerror_r * src/errwin32.d (get_OS_error_info): remove (OS_error_internal_body): remove (format_message): add (OS_error_internal): use it (FORMAT-MESSAGE): preliminary implementation: required numeric argument (OS_error, OS_error_arg): push errcode on STACK for the :CODE argument * src/spvw.d (libopen, find_name): define when WIN32_NATIVE|HAVE_DLOPEN for the sake of finding converters in error.d:convert_error_code * modules/syscalls/calls.c (RESOLVE-HOST-IPADDR): signal error_condition, not os_error because there is no errno (errno_to_symbol_w, errno_to_symbol_a): add error_code_converter_t objects for error.d:convert_error_code (ERRNO, LAST-ERROR): convert from symbolic to numeric too (STRERROR, FORMAT-MESSAGE): use and override the preliminary definitions in errunix.d and errwin32.d * modules/syscalls/preload.lisp: unlock the SYSTEM package and remove it from *SYSTEM-PACKAGE-LIST* to enable overriding STRERROR & FORMAT-MESSAGE in calls.c * modules/syscalls/posix.lisp: import and export SYS::STRERROR & SYS::FORMAT-MESSAGE; re-add SYSTEM to *SYSTEM-PACKAGE-LIST* diffstat: modules/syscalls/calls.c | 88 +- modules/syscalls/posix.lisp | 4 +- modules/syscalls/preload.lisp | 3 + modules/syscalls/syscalls.xml | 45 +- src/ChangeLog | 48 + src/NEWS | 8 + src/condition.lisp | 24 +- src/constsym.d | 9 +- src/error.d | 52 +- src/errunix.d | 692 +------ src/errwin32.d | 3909 +---------------------------------------- src/lispbibl.d | 8 +- src/spvw.d | 4 +- src/subr.d | 4 + tests/ChangeLog | 4 + tests/socket.tst | 17 +- 16 files changed, 321 insertions(+), 4598 deletions(-) ------------------------------ Message: 2 Date: Fri, 19 Aug 2011 16:54:07 +0000 From: cli...@li... Subject: clisp: * src/makemake.in (LIBS): prepend ${GLLIB_A} before -lws2... To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/e64b406e68b2 changeset: 15523:e64b406e68b23f30aa7c71f9bd5c1a189a9eed1b user: Sam Steingold <sd...@po...> date: 2011-08-18 17:50:01 -0400 description: * src/makemake.in (LIBS): prepend ${GLLIB_A} before -lws2_32 & -lintl <http://article.gmane.org/gmane.lisp.clisp.devel:22701> diffstat: src/ChangeLog | 5 +++++ src/makemake.in | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) ------------------------------ Message: 3 Date: Fri, 19 Aug 2011 18:56:09 +0000 From: cli...@li... Subject: clisp: fixup 15522:eafb54143f18 for win32 To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/aa741a45b817 changeset: 15524:aa741a45b817a1af1d081f0b150145b7e492d924 user: Sam Steingold <sd...@po...> date: 2011-08-19 14:31:48 -0400 description: fixup 15522:eafb54143f18 for win32 diffstat: modules/syscalls/calls.c | 2 +- src/errwin32.d | 18 ++++++++++++++---- tests/socket.tst | 14 ++++++++++---- 3 files changed, 25 insertions(+), 9 deletions(-) ------------------------------ ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ------------------------------ _______________________________________________ clisp-cvs mailing list cli...@li... https://lists.sourceforge.net/lists/listinfo/clisp-cvs End of clisp-cvs Digest, Vol 63, Issue 9 **************************************** |