Age | Commit message (Collapse) | Author | Files | Lines |
|
* interp/sys-os.boot ($NaNvalue): Remove.
(quietDoubleNaN): Import.
* include/cfuns.h (quiet_double_NaN): Rename from NANQ.
* lib/cfuns-c.c (quiet_double_NaN): Likewise.
* algebra/draw.spad.pamphlet: Replace $NaNvalue with quietDoubleNaN.
* algebra/plot.spad.pamphlet: Likewise.
* algebra/plot3d.spad.pamphlet: Likewise.
|
|
* configure.ac.pamphlet: Fix indention of CPP directives. Include
<sys/types.h> when testing for openpty.
src/ChangeLog
2009-02-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-utility.boot (%hostByteOrder): Make a function.
* algebra/system.spad.pamphlet (hostByteOrder$System): Adjust call.
2009-02-19 Aleksej Saushev <asau@inbox.ru>
* lib/openpty.c: Include <sys/types.h> when testing for openpty.
|
|
<libutil.h> where available.
|
|
* algebra/data.spad.pamphlet (ByteOrder): New.
* algebra/Makefile.pamphlet (axiom_algebra_layer_1): Include BYTEORD.
|
|
|
|
new file.
|
|
* sman/Makefile.in: Add additional C runtimes for link.
* lib/openpty.c: Include <pty.h> and <util.h> where available.
(ptyopen): Lose third parameter. Tidy.
(makeNextPtyNames): Now static.
* clef/edible.c (controllerPath): Remove.
Adjust call to ptyopen.
* clef/Makefile.in (clef_LDADD): Add extra C runtimes.
|
|
* graph/Gdraws/Gfun.c: Likewise.
* graph/view2D/control2d.c: Likewise.
* graph/view2D/main2d.c: Likewise.
* graph/view2D/process2d.c: Likewise.
* graph/view3D/main3d.c: Likewise.
* graph/view3D/process3d.c: Likewise.
* graph/viewAlone/spoon2D.c: Likewise.
* graph/viewAlone/spoonComp.c: Likewise.
* graph/viewman/fun2D.c: Likewise.
* graph/viewman/fun3D.c: Likewise.
* hyper/extent2.c: Likewise.
* hyper/hthits.c: Likewise.
* hyper/htinp.c: Likewise.
* hyper/initx.c: Likewise.
* hyper/lex.c: Likewise.
* hyper/parse-types.c: Likewise.
* hyper/spadint.c: Likewise.
* hyper/titlebar.c: Likewise.
* lib/fnct_key.c: Likewise.
* sman/sman.c: Likewise.
|
|
|
|
|
|
readByteFromStreamSocket. Import oa_socket_write_byte as
writeByteToStreamSocket.
* include/sockio.h (oa_socket_read_byte): Declare.
(oa_socket_write_byte): Likewise.
* lib/sockio-c.c (oa_socket_read_byte): Define.
(oa_socket_write_byte): Likewise.
* algebra/net.spad.pamphlet (readByteIfCan!$InetClientStreamSocket):
Implement.
(writeByteIfCan!$InetClientStreamSocket): Likewise.
* etc/asq.c.pamphlet: Update build rules for asq$(EXEEXT).
|
|
|
|
* lib/sockio-c.c (oa_inet_pton): Define.
(oa_get_host_address): Likewise.
* algebra/net.spad.pamphlet (IP4Address): New.
(NetworkClientSocket): Likewise.
(InetClientStreamSocket): Likewise.
* algebra/data.spad.pamphlet (DataArray): Rename from DataBuffer.
(ByteBuffer): Rename from ByteArray. Reimplement.
* algebra/exposed.lsp.pamphlet: Expose IP4Address,
InetClientStreamSocket, NetworkClientSocket.
|
|
|
|
* lib/cfuns-c.c (oa_chdir): Define.
(oa_dirname): Fix typo.
* hyper/htadd.c (copy_file): Remove.
(build_db_filename): Tidy.
(delete_file): Use oa_copy_file.
|
|
* lib/cfuns-c.c (openaxiom_is_path_separator): New.
(oa_dirname): Define.
(writeablep): Use it.
* algebra/fname.spad.pamphlet (writable?$FileName): Tidy.
|
|
(writeablep): Document.
* algebra/fname.spad.pamphlet (exists?$FileName): Use existingFile?
(readable?$FileName): Use readablep.
(writeable?$FileName): Use writeable.
|
|
* clef/edible.c: Include "open-axiom.h". Use openaxiom_sleep, not
sleep.
* graph/view2D/viewport2D.c: Likewise.
* graph/viewAlone/spoon2D.c: Likewise.
* graph/viewAlone/spoonComp.c: Likewise.
* graph/viewman/fun2D.c: Likewise.
* graph/viewman/fun3D.c: Likewise.
* hyper/spadint.c: Likewise.
* sman/session.c: Likewise.
* sman/sman.c: Likewise.
|
|
|
|
|
|
|
|
(readFromStreamSocket): Likewise.
(writeToStreamSocket): Likewise.
(closeSocket): Likewise.
* include/sockio.h: Include <arpa/inet.h>
(oa_open_ip4_client_stream_socket): Declare.
(oa_socket_write): Likewise.
(oa_socket_read): Likewise.
* lib/sockio-c.c (openaxiom_unload_socket_module): New.
(openaxiom_load_socket_module): Tidy.
(openaxiom_socket_is_invalid): New.
(is_invalid_socket): Use it.
(oa_open_ip4_client_stream_socket): Define.
(oa_socket_read): Likewise.
(oa_socket_write): Likewise.
|
|
|
|
OPENAXIOM_AF_LOCAL, not AF_LOCAL.
|
|
(writeToFileHandle): Likewise.
(closeFileHandle): Likewise.
(openLocalClientStreamSocket): Likewise
(oa_filedesc_read): Likewise.
(oa_filedesc_write): Likewise.
(oa_filedesc_close): Likewise.
* include/sockio.h (oa_open_local_client_stream_socket): Declare.
* lib/sockio-c.c (oa_open_local_client_stream_socket): Define.
(oa_filedesc_read): Likewise.
(oa_filedesc_write): Likewise.
(oa_filedesc_close): Likewise.
|
|
|
|
(|$useDynamicLink|): Likewise.
(|$effectiveFaslType|): Hold extension of linkable FASL.
(|$NativeModuleExt|): Tidy.
(|$CoreLibName|): New.
(|$ExtraRuntimeLibraries|): Likewise.
(extra-runtime-libs): Likewise.
(complete-fasl-list-for-link): Likewise.
(|link|) [ECL]: Link against system libraries.
(|compileLispFile|): Tidy.
(begin-compile-time): New.
(end-compile-time): Likewise.
(compile-time-p): Likewise.
(import-module): Use it.
* lisp/Makefile.in ($(OUT)/lisp$(EXEEXT)): Use oa_c_runtime_extra.
* lib/Makefile.in (oa_installed_corelib): New.
* boot/initial-env.lisp: Don't export systemRootDirectory and
systemLibraryDirectory from here.
* boot/translator.boot (systemRootDirectory): Move to lisp/core.lisp.
(systemLibraryDirectory): Likewise.
(loadSystemRuntimeCore): Do nothing for GCL and ECL.
* interp/boot-pkg.lisp: Inform that Boot system is compleye.
|
|
during build. Also use 'cp -p' instead of $(INSTALL).
* algebra/Makefile.pamphlet: Likewise.
* graph/Makefile.in: Likewise.
* boot/Makefile.in: Likewise.
* hyper/Makefile.in: Likewise.
* input/Makefile.pamphlet: Likewise.
* interp/Makefile.pamphlet: Likewise.
* lib/Makefile.in: Likewise.
* lisp/Makefile.in: Likewise.
* share/Makefile.in: Likewise.
|
|
|
|
|
|
|
|
|
|
(oa_access_file_for_read): Likewise.
* lib/cfuns-c.c (oa_getcwd): Define.
(oa_access_file_for_read): Likewise.
(oa_get_tmpdir): Likewise.
* hyper/addfile.c: Don't include hyper.h
(build_ht_filename): Use oa_getcwd, oa_access_file_for_read.
(temp_file_open): Use oa_get_tmpdir.
* hyper/htadd.c (build_db_filename): Don't fall back to bogus
filename.
* hyper/hyper.h (temp_dir): Remove.
(def_spad): Likewise.
|
|
* include/halloc.h: Rename from include/halloc.H1.
* include/lex.H1: Remove.
* include/hterror.H1: Likewise.
* hyper/halloc.c: Likewise.
* hyper/hash.c: Likewise.
* hyper/Makefile.in (hypertex_SOURCES): Don't include hash.c,
halloc.c.
|
|
|
|
* config/openaxiom-c-macros.h.in: Rename from
config/axiom-c-macros.h.in.
* src: Propagate change.
|
|
|
|
|
|
* lib/XDither.c: Likewise.
* lib/XShade.c: Likewise.
|
|
(OPENAXIOM_SIGCHLD): New macro.
* hyper/hyper.c (main): Use OPENAXIOM_SIGCHLD.
* graph/viewman/viewman.c: Don't include <signal.h> directly.
(main): Use OPENAXIOM_SIGCHLD.
* graph/viewman/sselect.c: Don't include <signal.h> directly.
(superSelect): Tidy. Use OPENAXIOM_SIGCHLD.
|
|
|
|
libraries on MinGW and Cygwin.
* config/var-def.mk (SHREXT): Tidy.
(LINK_SHRLIB): New.
|
|
* hyper/spadbuf.c: Remove conditional inclusion of <bstring.h>
* sman/session.c: Likewise.
* hyper/halloc.c: Remove conditional inclusion of <malloc.h>
|
|
* interp/bootlex.lisp (init-boot/spad-reader): Use $OutputStream.
* interp/comp.lisp (|compQuietly|): Likewise.
(|compileFileQuietly|): Likewise.
(|compileQuietly|): Likewise.
* interp/unlisp.lisp (|Prompt|): Likewise.
* interp/server.boot (serverReadLine): Indent while body.
|
|
|
|
|
|
|
|
|
|
|
|
(is_dot_or_dotdot): New.
(oa_unlink): Define.
(oa_rename): Likewise.
(oa_mkdir): Likewise.
* interp/sys-os.boot: New file.
* interp/util.lisp (MAKE-TAGS-FILE): Use changeDirectory.
(MAKELIB): Likewise.
(MAKESPAD): Likewise.
(LIBCHECK): Likewise.
* interp/sys-utility.boot ($ERASE): Define here. Use removeFile.
($REPLACE): Likewise.
(checkMkdir): Define.
* interp/obey.lisp (MAKEDIR): Remove definition.
* interp/nlib.lisp (RDEFIOSTREAM): Use checkMkdir.
(MAKEDIR): Remove.
(RPACKFILE): Use removeFile.
($ERASE): Remove Lisp definition.
($REPLACE): Likewise.
* interp/i-syscmd.boot (cd): Use changeDirectory.
(compileAsharpArchiveCmd): Use mkdir.
(histFileErase): Likewise.
* interp/fortcall.boot (fortCall): Use removeFile.
(invokeNagman): Likewise.
* interp/daase.lisp (|library|): Use changeDirectory.
(LOCALDATABASE): Likewise.
(DaaseName): Use removeFile.
* interp/construc.lisp (mergelibs): Use removeFile.
(mergeall): Use changeDirectory.
* interp/c-doc.boot (docreport): Use removeFile.
* interp/br-search.boot (getTempPath): Likewise.
* interp/br-saturn.boot (dbSort): Likewise.
* interp/br-data.boot (buildLibdb): Likewise
(dbSplitLibdb): Likewise.
(buildGloss): Likewise.
(purgeLocalLibdb): Likewise.
* interp/as.boot (asList): Likewise.
* interp/Makefile.pamphlet (OBJS): Include sys-os.$(FASLEXT).
(sys-os.$(FASLEXT)): New rule.
(sys-utility.$(FASLEXT)): Require sys-os.$(FASLEXT).
* include/cfuns.h (oa_chdir): Declare.
(oa_unlink): Likewise.
(oa_rename): Likewise.
(oad_mkdir): Likewise.
|