aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2008-04-05Remove remaining K&R style prototypes.dos-reis95-1199/+225
2008-04-05 * algebra/system.spad.pamphlet (System): New package.dos-reis9-22056/+22117
* algebra/Makefile.pamphlet (axiom_algebra_layer_12): Include SYSTEM. * src/share/algebra: Update databases.
2008-04-05 * configure.ac.pamphlet (oa_shrlib_flags): Tidy.dos-reis3-46/+7
(oa_shrobj_flags): Likewise. * config/var-def.mk (LINK_SHRLIB): Tidy. * INSTALL: Update. * TODO: Likewise.
2008-04-04 * hyper/hyper.h: Simplify font definitions.dos-reis2-15/+4
2008-04-04 * hyper/event.c (mainEventLoop): Fix thinko.dos-reis2-2/+5
2008-04-04 * include/xpm.h: Don't include <malloc.h>dos-reis4-7/+6
* lib/XDither.c: Likewise. * lib/XShade.c: Likewise.
2008-04-04 * include/bsdsignal.h: Include <signal.h>. dos-reis6-35/+22
(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.
2008-04-04 * lib/Makefile.in (libopen_axiom_core_objects): Tidy.dos-reis1-2/+3
2008-04-04 * configure.ac.pamphlet: Disable Libtool for building shareddos-reis2-4/+11
libraries on MinGW and Cygwin. * config/var-def.mk (SHREXT): Tidy. (LINK_SHRLIB): New.
2008-04-03 * interp/postpar.boot (postBootNotEqual): New. Disallow `^=' indos-reis2-8/+22
Spad codes.
2008-04-03Replace `^=' with `~='.dos-reis178-932/+1109
2008-04-02src/boot/dos-reis3-4/+16
* boot/tokens.boot (second): Now candidate for renaming in generated Lisp code. (third): Likewise. src/input/ * input/mapleok.input.pamphlet: Fix typo.
2008-04-02 Fix AW/386.dos-reis4-30/+42
2008-04-01 * include/nagman.H1: Remove.dos-reis10-50/+41
* include/session.H1: Move content to sman/session.c. Remove. * sman/session.c: Don't include "session.H1" anymore. * sman/spadclient.c: Don't include "spadclient.H1" anymore. * include/spadclient.H1: Remove. * include/spadbuf.H1: Move content to hyper/spadbuf.c. Remove. * hyper/spadbuf.c: Don't include "spadbuf.H1" anymore. * hyper/htadd.c: Don't include "htadd.H1" anymore. * include/htadd.H1: Move content to hyper/htadd.c. Remove.
2008-04-01 * lib/openpty.c: Remove conditional inclusion of <stropts.h>dos-reis9-32/+7
* hyper/spadbuf.c: Remove conditional inclusion of <bstring.h> * sman/session.c: Likewise. * hyper/halloc.c: Remove conditional inclusion of <malloc.h>
2008-03-31 * interp/sys-utility.boot (loadModule): New.dos-reis4-4/+19
* interp/daase.lisp (initial-getdatabase): Use it instead of Lisp's LOAD. * interp/lisplib.boot (loadLib): Likewise. (loadLibNoUpdate): Likewise.
2008-03-30 * interp/i-intern.boot (mkAtree3): Don't apply syntacticdos-reis2-1/+5
transformation on `~=' expressions.
2008-03-30 * interp/buildom.boot: Cache constructor instantiations.dos-reis3-6/+29
* interp/clam.boot (haddProp): Update comment.
2008-03-30 Fix SF/1849435.dos-reis4-177/+218
* interp/buildom.boot: Rewrite builtin domains to work with old runtime scheme. * interp/nruncomp.boot (NRTencode): Tidy. * interp/nrungo.boot (basicLookup): lookupInTable is part of the old runtime scheme too. (lookupInDomain): Tidy. (lookupInCategories): Simplify.
2008-03-29 * interp/comp.lisp: Fix thinko.dos-reis2-3/+7
2008-03-28 * interp/int-top.boot (intloopReadConsole): Use $InputStream.dos-reis9-58/+90
* 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.
2008-03-27Fix DLL build on cygwin.dos-reis8-16/+14
2008-03-27Fix DLL build on cygwin.dos-reis3-24/+28
2008-03-26 * LDF provides libm for SolarisBill Page1-1/+1
2008-03-26Add $(EXEEXT) to view2D.alfredoport2-1/+6
2008-03-26Use SIGABRT instead of SIGIOT if available (Cygwin)alfredoport2-0/+14
2008-03-26Fix shared linking regressiondos-reis15-49/+74
2008-03-25 * interp/bootlex.lisp: Import "sys-globals". dos-reis29-142/+176
Consistently use $InputStream and $OutputStream for I/O. * interp/c-util.boot: Likewise. * interp/comp.lisp: Likewise. * interp/compat.boot: Likewise. * interp/debug.lisp: Likewise. * interp/def.lisp: Likewise. * interp/g-error.boot: Likewise. * interp/i-toplev.boot: Likewise. * interp/int-top.boot: Likewise. * interp/intfile.boot: Likewise. * interp/lisplib.boot: Likewise. * interp/macros.lisp: Likewise. * interp/metalex.lisp: Likewise. * interp/msgdb.boot: Likewise. * interp/patches.lisp: Likewise. * interp/preparse.lisp: Likewise. * interp/server.boot: Likewise. * interp/spad-parser.boot: Likewise. * interp/spad.lisp: Likewise. * interp/sys-globals.boot: Likewise. * interp/sys-macros.lisp: Likewise. * interp/sys-os.boot: Likewise. * interp/unlisp.lisp: Likewise. * interp/vmlisp.lisp: Likewise. * interp/Makefile.pamphlet (bootlex.$(FASLEXT)): Require sys-globals.$(FASLEXT) too. (vmlisp.$(FASLEXT)): Likewise.
2008-03-25 * interp/vmlisp.lisp (DEFINE-FUNCTION): Move boot-pkg.lisp.dos-reis22-80/+117
(BPINAME): Tidy. * interp/slam.boot (reportFunctionCompilation): Tidy. * interp/daase.lisp: Don't use anachronistic SET. * interp/debug.lisp: Likewise. * interp/br-saturn.boot: Substitute GENSYM for GENTEMP. * interp/fortcall.boot: Likewise. * interp/ht-util.boot: Likewise. * interp/pf2sex.boot: Likewise. * interp/server.boot: Likewise. * interp/buildom.boot (UnionEqual): Tidy. (coerceUn2E): Likewise. * interp/boot-pkg.lisp (define-function): Define here. * interp/Makefile.pamphlet (diagnostics.$(FASLEXT)): Tidy. (hash.$(FASLEXT)): Likewise. (vmlisp.$(FASLEXT)): Likewise. * interp/diagnostics.boot: Import "types". * interp/hash.lisp: Import "types" instead of "vmlisp". * interp/i-output.boot ($algebraOutput): Move to sys-globals.boot. (ERROROUTSTREAM): Likewise. (ERRORINSTREAM): Likewise. * interp/macros.lisp ($algebraOutputStream): Don't set here. * interp/patches.lisp ($algebraOutputStream): Don't set here. ($texOutputStream): Likewise. ($fortranOutputStream): Likewise. ($texOutputStream): Likewise. ($formulaOutputStream): Likewise.
2008-03-24Add support for SBCL and CLispdos-reis74-28226/+30456
2008-03-20 * interp/vmlisp.lisp (GETREFV): Set initial elements to NIL.dos-reis32-344/+330
(MAKE-OUTSTREAM): Supersede existing files. * interp/template.boot (makeTemplate): Use newDomainShell instead of GETREFV. (extendVectorSize): Likewise. (mkSigPredVectors): Likewise. (list2LongerVec): Likewise. (measure): Remove. (measureCommon): Likewise. * interp/sys-utility.boot (loadNativeModule): New. * interp/sys-os.boot: Import "cfuns" and "sockio". (runProgram): New. * interp/sys-globals.boot (/SOURCEFILES): Define here. (/SPACELIST): Likewise. * interp/sys-driver.boot ($OpenAxiomCoreModuleLoaded): New global variable. (AxiomCore::%sysInit): Load libopen-axiom-core if necessary. ($defaultMsgDatabaseName): Define here. * interp/spad.lisp (|New,ENTRY,1|): Tidy. * interp/sockio.lisp: Move import declarations to sys-os.boot. Remove unused codes. * interp/server.boot (serverReadLine): Use coreQuit instead of BYE. * interp/pspad1.boot (formatMDEF): Tidy. * interp/pspad2.boot (formatIf1): Tidy. * interp/patches.lisp: Import "sys-driver". Remove $CURRENT-DIRECTORY. * interp/nruncomp.boot (buildFunctor): Use newDomainShell instead of GETREFV. * interp/nrunopt.boot (makeDomainTemplate): Likewise. * interp/package.boot (processFunctorOrPackage): Likewise. * interp/nlib.lisp (rdefiostream): Tidy. * interp/monitor.lisp (monitor-autoload): Define when GCL. * interp/interop.boot (oldAxiomCategoryDevaluate): Tidy. * interp/i-toplev.boot (start): Don't set $CURRENT-DIRECTORY. * interp/i-syscmd.boot (close): Use newDomainShell. (leaveScratchpad): Use coreQuit instead of BYE. (compileAsharpArchiveCmd): Use GET-CURRENT-DIRECTORY. * interp/g-util.boot (newDomainShell): Define. * interp/functor.boot (NewbFVectorCopy): Use newDomainShell. * interp/daase.lisp (asharp): Use runProgram. * interp/cfuns.lisp: Remove unused codes. (directoryp): Move import declaration to sys-os.bot. (writeablep): Likewise. * interp/buildom.boot (Record0): Use newDomainShell instead of GETREFV. (coerceRe2E): Likewise. (Union): Likewise. (Mapping): Likewise. (Enumeration): Likewise. * interp/category.boot (mkCategory): Likewise. * interp/Makefile.pamphlet (patches.$(FASLEXT)): Require sys-driver.$(FASLEXT). (sys-os.$(FASLEXT)): Require cfuns.$(FASLEXT), sockio.$(FASLEXT). * algebra/view2D.spad.pamphlet: Use $ViewportServer instead of VIEWPORTSERVER. Use sockSendInt instead of SOCK-SEND-INT. Use sockSendFloat instead of SEND-SEND-FLOAT. Use sockSendString instead of SOCK-SEND-STRING. Use sockGetInt instead of SOCK-GET-INT. Use sockGetFloat instead of SOCK-SEND-FLOAT. * algebra/view3D.spad.pamphlet: Likewise. * interp/util.lisp (fe): Remove. (fc): Likewise. (interp-make-directory): Simplify. (OLD-BOOT::BOOT): Don't declare *PRINT-PRETTY* and *PRINT-LENGTH* special.
2008-03-19 * interp/trace.boot (untraceDomainLocalOps): Tidy.dos-reis19-128/+133
* interp/spaderror.lisp (|$quitTag|): Define as constant. (|$numericFailure|): Likewise. * interp/spad.lisp: Import "postpar" and "debug". ($): Remove toplevel assignment. (|traceComp|): Tidy. (/FLAG): Remove. (*PROMPT*): Remove. (|New,ENTRY,1|): Don't declare it. Tidy. (|New,ENTRY,2|): Fix typo. * interp/sfsfun-l.lisp (rbesselj): Remove extraneous right parenthesis. (rbesseli): Likewise. * interp/patches.lisp: Import "sockio" instead of "debug" (|$useInternalHistoryTable|): Don't define here. (user::start): Remove. (/RF-1): Declare ECHO-META special. (READSPADEXPR): Declare IN-STREAM special. (|$ViewportProcessToWatch|): Declare. (echo-meta): Don't set here. * interp/packtran.boot (rePackageTran): Tidy. * interp/nspadaux.lisp (|$underscoreChar|): Define. (|$markChoices|): Likewise. (|$convert2NewCompiler|): Likewise. (|$AnalyzeOnly|): Likewise. (|$categoryPart|): Likewise. (|$insideCAPSULE|): Likewise. (|$insideEXPORTS|): Likewise. (|$originalSignature|): Likewise. (|$insideDEF|): Likewise. (|$insideTypeExpression|): Likewise. (|$spadTightList|): Likewise. (|$PerCentVariableList|): Likewise. * interp/nrunopt.boot (augmentPredCode): Fix typo. * interp/nlib.lisp (*LISP-BIN-FILETYPE*): Remove. (recompile-lib-file-if-necessary): Use $faslType. Unconditionally define. * interp/lisplib.boot (compDefineLisplib): Tidy. * interp/interop.boot (SExprToDName): Tidy. (oldAxiomPreCategoryDevaluate): Likewise. (hashNewLookupInCategories): Likewise. * interp/g-util.boot (get): Adjust return type. (get0): Likewise. (get1): Likewise. (get2): Likewise. * interp/foam_l.lisp: Tidy. * interp/define.boot (maybeInsertViewMorphisms): Fix typo. * interp/debug.lisp (/breakcondition): Declare. * interp/sys-utility.boot (getSystemModulePath): New. * interp/daase.lisp (|with|): Remove (|library|): Move i-syscmd.boot (initial-getdatabase): Use getSystemModulePath. (getdatabase): Likewise. (addoperations): Don't reference package LISP. (localdatabase): Likewise. (write-interpdb): Don't declare *print-prett* special. (write-browsedb): Likewise. (write-categorydb): Likewise.
2008-03-18 * interp/sys-utility.boot: Define more type abbreviations.dos-reis4-76/+93
* interp/apply.boot: Adjust signature declarations. * interp/compiler.boot: Likewise.
2008-03-17 * interp/sys-driver.boot (restart): Rename from RESTART.dos-reis4-8/+15
(SET-RESTART-HOOK): Use restart. * interp/Makefile.pamphlet (${SAVESYS}): Refer restart, not RESTART. (${AXIOMSYS}): Likewise.
2008-03-17Add missing `return'.dos-reis2-1/+5
2008-03-17 * lib/cfuns-c.c (oa_chdir): Define.dos-reis20-97/+325
(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.
2008-03-16Add support for MathML outputalfredoport8-7/+1659
2008-03-16 * boot/translator.boot: Switch to new native type translation.dos-reis3-8/+8
* interp/sys-driver.boot (stdStreamIsTerminal): Simplify.
2008-03-16 * lisp/Makefile.in (void_type): New.dos-reis23-66/+163
(char_type): Likewise. (int_type): Likewise. (float_type): Likewise. (double_type): Likewise. (string_type): Likewise. (pointer_type): Likewise. (edit): Use them. * interp/wi1.boot (ppFull): Tidy. Don't set *PRINT-DEPTH*. * interp/vmlisp.lisp (gcmsg): Define when SBCL. * interp/template.boot (measureCommon): Fix thinko. * interp/sys-utility.boot: Move basic type definition from g-util.boot to here. * interp/g-util.boot (augProplistOf): Fix signature declaration. * interp/daase.lisp: Tidy. * interp/c-util.boot (displayComp): Remove assignment to $X,$M,$F. * interp/boot-pkg.lisp: Tidy. * interp/axext_l.lisp: Likewise. * interp/Makefile.pamphlet (makeint.lisp): Call GBC only when GCL. ($(axiom_targetdir)/algebra/exposed.$(FASLEXT)): Tidy. (patches.$(FASLEXT)): Require debug.$(FASLEXT), g-timer.$(FASLEXT). (wi2.$(FASLEXT)): Require define.$(FASLEXT). (spad.$(FASLEXT)): Require postpar.$(FASLEXT), debug.$(FASLEXT). * boot/translator.boot (genImportDeclaration): Include translation for SBCL. * boot/parser.boot (bpMapping): Tidy. * boot/ast.boot (coreSymbol): New. (bootSymbol): Likewise. (bootSymbol): Likewise. * lisp/core.lisp.in (|$NativeTypeTable|): New. Export. * algebra/Makefile.pamphlet (COMPILE_LISP): Use $(INTERPSYS). * algebra/exposed.lsp.pamphlet: Tidy.
2008-03-16 * lib/Makefile.in ($(axiom_target_libdir)/libopen-axiom-core.$(DLLEXT)): Tidy.dos-reis9-13/+19
($(axiom_target_libdir)/libspad.la): Likewise.
2008-03-15commit missing filedos-reis1-0/+48
2008-03-15 * configure.ac.pamphlet (axiom_c_runtime): Don't include core, asdos-reis32-236/+315
it is always built into libopen-axiom-core. src/ * include/cfuns.h (findString): Rename from include/cfuns-c.H1. Make DLL-aware. * include/open-axiom.h: New. * include/sockio.h: Make DLL-aware. * include/bsdsignal.H1: Fold content into include/bsdsignal.h. Remove. * lib/bsdsignal.c: Don't include bsdsignal.H1 * lib/fnct_key.c: Likewise. * lib/sockio-c.c: Likewise. * lib/Makefile.in (other_SOURCES): Remove. (other_objects): Likewise. (pamphlets): Likewise. (clean-local): Don't remove source files. (libopen_axiom_core_la_SOURCES): New. (libopen_axiom_core_la_objects): Likewise. (stamp): Require $(axiom_target_libdir)/libopen-axiom-core.la too. * graph/view2D/main2d.c: Likewise. * clef/edible.c: Likewise. * graph/view3D/main3d.c: Likewise. * graph/view3D/testcol.c: Likewise. * graph/viewman/sselect.c: Likewise. * graph/viewman/viewman.c: Likewise. * hyper/htinp.c: Likewise. * hyper/hyper.c: Likewise. * hyper/spadbuf.c: Likewise. * hyper/spadint.c: Likewise. * sman/session.c: Likewise. * sman/sman.c: Likewise. * sman/spadclient.c: Likewise.
2008-03-15 * algebra/polset.spad.pamphlet (exactQuo$PSETCAT-): Don'tdos-reis2-77/+78
conditionally define as local function. Update cached Lisp translation.
2008-03-14 * algebra/pscat.spad.pamphlet: Likewise.dos-reis2-18/+219
2008-03-14 * algebra/catdef.spad.pamphlet: Update cached Lisp translation.dos-reis6-3728/+6479
* algebra/sf.spad.pamphlet: Likewise. * algebra/si.spad.pamphlet: Likewise. * algebra/fspace.spad.pamphlet: Likewise. * algebra/ffcat.spad.pamphlet: Likewise. * algebra/polset.spad.pamphlet: Likewise. * algebra/fraction.spad.pamphlet: Likewise. * algebra/triset.spad.pamphlet: Likewise. * algebra/polycat.spad.pamphlet: Likewise.
2008-03-14 * algebra/catdef.spad.pamphlet: Update cached Lisp translation.dos-reis4-1068/+2296
* algebra/sf.spad.pamphlet: Likewise. * algebra/si.spad.pamphlet: Likewise. * algebra/fspace.spad.pamphlet: Likewise.
2008-03-14 * algebra/catdef.spad.pamphlet: Update cached Lisp translation.dos-reis2-1493/+1128
2008-03-10 * doc/msgs/s2-us.msgs: Say Spad, not old compiler.dos-reis2-1/+5
2008-03-10 * interp/nocompil.lisp: Remove.dos-reis8-98/+25
* interp/Makefile.pamphlet: Adjust.
2008-03-10 * algebra/Makefile.pamphlet (strap/%.$(FASLEXT)): Don't copydos-reis3-4/+11
bootstrapping objects to final algebra directory. (%.NRLIB/code.$(FASLEXT)): Specify bootstrapping objects location as option.