aboutsummaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-08-18Remove CCF variablesdos-reis1-1/+1
2010-08-18 r13983@gauss (orig r1241): gdr | 2009-07-22 15:41:19 -0500dos-reis1-1/+64
Create jap-sandbox. r14019@gauss (orig r1258): alfredoport | 2009-08-18 19:48:31 -0500 Sync with trunk r14021@gauss (orig r1260): alfredoport | 2009-08-19 19:09:52 -0500 Update branch pre-merge r14960@gauss (orig r1681): alfredoport | 2010-07-12 20:43:04 -0500 Add some string manipulation functions and documentation r14982@gauss (orig r1697): alfredoport | 2010-07-23 20:12:44 -0500 Sync with trunk r14994@gauss (orig r1709): gdr | 2010-07-25 21:25:44 -0500 * src/lib/cfuns-c.c (oa_strcat): Document and tidy. r15021@gauss (orig r1733): alfredoport | 2010-08-01 19:25:18 -0500 Sync with trunk r15022@gauss (orig r1734): alfredoport | 2010-08-03 23:35:18 -0500 Solve compiling issues r15054@gauss (orig r1759): alfredoport | 2010-08-16 19:39:10 -0500 Sync with trunk r15056@gauss (orig r1761): gdr | 2010-08-17 19:11:08 -0500 Regenerate configure without presea r15057@gauss (orig r1762): gdr | 2010-08-17 19:13:17 -0500 Link htserach with a C++ linker. r15058@gauss (orig r1763): gdr | 2010-08-17 20:24:17 -0500 Massage htsearch. r15059@gauss (orig r1764): gdr | 2010-08-17 20:51:59 -0500 * hyper/htsearch.cc: Rename from htsearch.c to avoid confusions. r15060@gauss (orig r1765): gdr | 2010-08-17 21:04:12 -0500 * config/open-axiom.m4 (OPENAXIOM_HOST_PROGS): Don't check for awk anymore.
2010-08-16More configure workdos-reis1-2/+2
2010-08-15 * config/var-def.mk (CPPFLAGS): New expanded variable.dos-reis1-4/+3
(LDFLAGS): Likewise. (COMPILE): Include CPPFLAGS. (CXXCOMPILE): Likewise. (LINK): Include LDFLAGS. (CXXLINK): Likewise. (CXXLINK_SHRLIB): New. * config/open-axiom.m4 (OPENAXIOM_HOST_DATA_PROPERTIES): Move ABI flags setting to OPENAXIOM_HOST_COMPILERS. The CPPFLAGS and LDFLAGS instead of CFLAGS and CXXFLAGS.
2010-08-08 * hyper/ex2ht.c (strPrefix): Be const-correct.dos-reis2-2/+3
* hyper/htinp.c (get_graph_output): Likewise. (print_paste): Likewise. (print_graph_paste): Likewise. * hyper/initx.c (get_color): Likewise. * hyper/keyin.c (handle_key): Likewise. * hyper/lex.c (token_table): Likewise. * hyper/macro.c (number): Likewise. * hyper/mem.c (alloc_page): Likewise. * hyper/parse-aux.c (make_special_page): Likewise. (is_number): Likewise. * hyper/parse-types.c (errmess): Likewise. * lib/sockio-c.c (oa_socket_read): Cast to second argument to appropriate type. (oa_socket_read_byte): Likewise.
2010-07-29 * lib/XSpadFill.c: Tidy.dos-reis3-9/+9
* lib/pixmap.c: Likewise. * lib/spadcolors.c: Likewise. * include/ReadBitmap.H1: Remove. * include/all_hyper_proto.H1: Likewise. * include/cond.H1: Likewise. * include/cursor.H1: Likewise. * include/dialog.H1: Likewise. * include/display.H1: Likewise. * include/event.H1: Likewise. * include/extent1.H1: Likewise. * include/extent2.H1: Likewise. * include/form_ext.H1: Likewise. * include/group.H1: Likewise. * include/htinp.H1: Likewise. * include/hyper.H1: Likewise. * include/initx.H1: Likewise. * include/input.H1: Likewise. * include/item.H1: Likewise. * include/keyin.H1: Likewise. * include/macro.H1: Likewise. * include/mem.H1: Likewise. * include/parse.H1: Likewise. * include/parse_aux.H1: Likewise. * include/parse_input.H1: Likewise. * include/parse_paste.H1: Likewise. * include/parse_types.H1: Likewise. * include/scrollbar.H1: Likewise. * include/show_types.H1: Likewise. * include/spadcolors.H1: Likewise. * include/spadint.H1: Likewise. * include/titlebar.H1: Likewise. * hyper/Makefile.in: Compile and Link with a C++ compiler. * hyper/ReadBitmap.c: Make it acceptable to a C++ compiler. * hyper/cond.c: Likewise. * hyper/dialog.c: Likewise. * hyper/display.c: Likewise. * hyper/display.h: Likewise. * hyper/event.c: Likewise. * hyper/event.h: Likewise. * hyper/extent.h: Likewise. * hyper/extent1.c: Likewise. * hyper/extent2.c: Likewise. * hyper/form-ext.c: Likewise. * hyper/group.c: Likewise. * hyper/group.h: Likewise. * hyper/htadd.c: Likewise. * hyper/htinp.c: Likewise. * hyper/hyper.c: Likewise. * hyper/hyper.h: Likewise. * hyper/initx.c: Likewise. * hyper/initx.h: Likewise. * hyper/input.c: Likewise. * hyper/item.c: Likewise. * hyper/keyin.h: Likewise. * hyper/keyin.c: Likewise. * hyper/macro.c: Likewise. * hyper/mem.c: Likewise. * hyper/parse-aux.c: Likewise. * hyper/parse-input.c: Likewise. * hyper/parse-paste.c: Likewise. * hyper/parse-paste.h: Likewise. * hyper/parse-types.h: Likewise. * hyper/parse-types.c: Likewise. * hyper/parse.h: Likewise. * hyper/parse.c: Likewise. * hyper/scrollbar.c: Likewise. * hyper/scrollbar.h: Likewise. * hyper/show-types.c: Likewise. * hyper/spadint.c: Likewise. * hyper/titlebar.c: Likewise. * hyper/titlebar.h: Likewise. * graph/view3D/smoothShade3d.c: Include spadcolors.h * graph/view3D/stuff3d.c: Likewise. * graph/include/view.h (saymem): #undef before #define. * graph/view2D/write2d.c: Include pixmap.h. * graph/view3D/process3d.c: Likewise. * graph/view3D/write3d.c: Likewise. * graph/view3D/header.h: Remove macro definition for endColor and colorStep. * include/bsdsignal.h: Remove. * include/edin.H1: Likewise. * include/fnct_key.H1: Likewise. * include/halloc.h: Likewise. * include/hash.h: Likewise. * include/prt.H1: Likewise. * include/rgb.H1: Likewise. * include/sockio.h: Likewise. * include/util.h: Likewise. * include/pixmap.h: Rename from pixmap.H1
2009-10-26 * share/tex/open-axiom.sty: New.dos-reis1-1/+1
* share/Makefile.in (FILES): Update. ($(axiom_target_texdir)/open-axiom.sty): New rule. * lib/cfuns-c.c (oa_spawn)[__WIN32__]: Return exit status if in overlay mode. * include/open-axiom.h (OPENAXIOM_TEXINPUTS_PATH): Tidy. (OPENAXIOM_BIBINPUTS_PATH): Likewise. * driver/utils.c (print_usage): Document --execute option.
2009-10-25 * lib/cfuns-c.c (oa_concatenate_string): Define.dos-reis1-0/+18
* include/open-axiom.h (openaxiom_ifs): New. (OPENAXIOM_TEXINPUTS_PATH): Likewise. (OPENAXIOM_BIBINPUTS_PATH): Likewise. * driver/main.c (augment_variable): New. (upgrade_environment): Likewise. Call publish_systemdir. (main): Call it instead of publish_systemdir. Handle 'spawn' driver. * driver/utils.h (openaxiom_execute_driver): New kind of driver. * driver/utils.c (openaxiom_preprocess_arguments): Tidy. (openaxiom_execute_core): Likewise. * sman/sman.c (process_arguments): Likewise. (process_options): Likewise.
2009-10-25(no commit message)dos-reis1-3/+3
2009-10-25 * lib/cfuns-c.c (oa_spawn): New.dos-reis1-0/+77
(oa_allocate_process_argv): Likewise.
2009-09-30 * driver/Makefile.in (open-axiom): Link against core runtime.dos-reis1-0/+19
* driver/main.c (publish_systemdir): Rework. * include/cfuns.h (oa_setenv): Declare. * lib/cfuns-c.c (oa_setenv): Define.
2009-09-21 * lib/openpty.c (ptyopen): Fix thinko.dos-reis1-8/+5
2009-09-20 * configure.ac.pamphlet: Don't define CPP LINUXplaform,dos-reis8-34/+16
MACOSXplaform, and MSYSplatoform macros. src/ * lib/XDither.c: Tidy. * lib/XShade.c: Likewise. * lib/XSpadFill.c: Likewise. * lib/bsdsignal.c: Likewise. * lib/edin.c: Likewise. * lib/fnct_key.c: Likewise. * lib/util.c: Likewise. * lib/wct.c: Likewise.
2009-07-12 * algebra/mkfunc.spad.pamphletdos-reis1-0/+7
(mkDefun$MakeFloatCompiledFunction): Tidy. * interp/c-util.boot (declareUnusedParameters): New. * interp/i-map.boot: Use it. * interp/i-spec1.boot: Likewise. * interp/slam.boot: Likewise. * lib/cfuns-c.c (writeablep): Document MinGW/MSYS bug work around.
2009-07-11Fix writeablep function in Windowsalfredoport1-0/+4
2009-04-16 Fix SF/2763053dos-reis1-1/+1
* 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.
2009-02-192009-02-19 Aleksej Saushev <asau@inbox.ru>dos-reis1-0/+1
* 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.
2009-02-11 * lib/openpty.c: #include <sys/ioctl.h>, <termios.h>, anddos-reis1-1/+11
<libutil.h> where available.
2009-02-07 * algebra/system.spad.pamphlet (hostByteOrder$System): New.dos-reis1-2/+13
* algebra/data.spad.pamphlet (ByteOrder): New. * algebra/Makefile.pamphlet (axiom_algebra_layer_1): Include BYTEORD.
2008-12-06Support getting process id in Windows.alfredoport4-7/+15
2008-11-24 * lib/cfuns-c.c (oa_copy_file): Specify permission mode for thedos-reis1-1/+3
new file.
2008-11-01 * sman/sman.c (ptsPath): Remove.dos-reis1-46/+20
* 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.
2008-10-26 * clef/edible.c: #include "cfuns.h" for oa_getenv use.dos-reis1-0/+1
* 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.
2008-10-25Fix build on Win32dos-reis1-3/+7
2008-10-25Fix build on Win32dos-reis2-5/+18
2008-10-25 * interp/sys-os.boot: Import oa_socket_read_byte asdos-reis1-0/+28
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).
2008-10-24Use oa_getenv function.alfredoport4-7/+7
2008-10-24 Add basic support for stream client socket.dos-reis2-11/+51
* 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.
2008-10-19Replace __MINGW32__ declaration with __WIN32__alfredoport1-11/+11
2008-09-25 * include/cfuns.h (oa_copy_file): Declare.dos-reis2-3/+31
* 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.
2008-09-20 * include/cfuns.h (oa_dirname): Declare.dos-reis1-11/+54
* lib/cfuns-c.c (openaxiom_is_path_separator): New. (oa_dirname): Define. (writeablep): Use it. * algebra/fname.spad.pamphlet (writable?$FileName): Tidy.
2008-09-14 * interp/sys-os.boot (readablep): Import.dos-reis1-2/+2
(writeablep): Document. * algebra/fname.spad.pamphlet (exists?$FileName): Use existingFile? (readable?$FileName): Use readablep. (writeable?$FileName): Use writeable.
2008-09-09 * lib/sockio-c.c (openaxiom_sleep): Move to open-axiom.h.dos-reis1-16/+0
* 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.
2008-09-07Fix HANDLE/socket mismatch.dos-reis1-5/+5
2008-09-07Fix compilation failure on MinGW.dos-reis1-2/+4
2008-09-06Fix typodos-reis1-1/+1
2008-09-06 * interp/sys-os.boot (openIP4ClientStreamSocket): New.dos-reis1-41/+87
(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.
2008-09-06Sync with 1.2 versiondos-reis1-32/+51
2008-08-30 * lib/sockio-c.c (oa_open_local_client_stream_socket): Usedos-reis1-1/+1
OPENAXIOM_AF_LOCAL, not AF_LOCAL.
2008-08-29 * interp/sys-os.boot (readFromFileHandle): New.dos-reis1-0/+100
(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.
2008-08-08* lib/Makefile.in ($(axiom_target_libdir)/libopen-axiom-core.$(LIBEXT)): Tidy.dos-reis1-2/+7
2008-08-07 * lisp/core.lisp.in (boot-completed-p): New.dos-reis1-4/+10
(|$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.
2008-08-04 * Makefile.pamphlet: Use $(mkdir_p) in lieu of $(mkinstalldirs),dos-reis1-1/+1
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.
2008-05-23Fix breakage from last commits.dos-reis2-3/+2
2008-05-23Minimize build noise on win32dos-reis1-4/+6
2008-05-23Port htadd to win32dos-reis3-35/+35
2008-05-22Fix build breakage on Win32.dos-reis1-3/+3
2008-05-21 * include/cfuns.h (oa_get_tmpdir): Declare.dos-reis1-0/+74
(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.
2008-05-21 * graph/Gdraws/Makefile.in (HEADERS): Don't include hash.H1.dos-reis3-19/+18
* 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.
2008-04-29Cleanup, part 2.dos-reis2-35/+58