aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-08-24 Implement an s-expression C++ library.dos-reis9-12/+1563
* utils/hash-table.H: New. * utils/sexpr.H: Likewise. * utils/sexpr.cc: Likewise. * utils/string-pool.H: Likewise. * utils/string-pool.cc: Likewise. * utils/storage.H: Include openaxiom-c-macros.h (Memory::Storage): New. (Memory::Arena): Likewise. * utils/storage.cc: Implement member functions of new class. * utils/Makefile.in (libOpenAxiom_HEADERS): Include hash-table.H, string-pool.H, and sexpr.H (libOpenAxiom_SOURCES): Include string-pool.cc and sexpr.cc
2010-08-22Coerce symbol to string for error displayalfredoport2-3/+11
2010-08-22algebra/e04Package.spad.pamphlet (goodnessOfFit): Add explicit package call ↵alfredoport2-1/+6
to ErrorFunctions.
2010-08-22 * interp/compiler.boot (getBootType): Prefix Mapping with %.dos-reis2-3/+8
(checkExternalEntity): Likewise. Do same with Signature.
2010-08-21 External tool noweb is no longer required.dos-reis15-32/+800
* INSTALL: Update instructions. * Makefile.pamphlet: Remove rules for building noweb. (AXIOM_SRC_TARGETS): Include all-utils. * config/open-axiom.m4 (OPENAXIOM_BUILD_TOOLS): Don't check for notangle and noweave. * config/setup-dep.mk: Remove rules for generating document. * config/var-def.mk: Remove NOTANGLE and NOWEAVE variables. * configure.ac: Instantiate Makefile for src/utils.
2010-08-18Remove CCF variablesdos-reis10-10/+10
2010-08-18 Merge jap-sandbox ChangeLogs.dos-reis2-35/+40
2010-08-18 r13983@gauss (orig r1241): gdr | 2009-07-22 15:41:19 -0500dos-reis7-62/+351
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-reis2-3/+3
2010-08-16More configure workdos-reis3-5/+5
2010-08-15(no commit message)dos-reis1-7/+11
2010-08-15 * algebra/float.spad.pamphlet (Float): Tidy.dos-reis5-11/+24
* algebra/limitps.spad.pamphlet (ElementaryFunctionSign): Likewise. * algebra/view2D.spad.pamphlet (TwoDimensionalViewport): Likewise. * algebra/view2D.spad.pamphlet (ThreeDimensionalViewport): Likewise.
2010-08-15 * config/var-def.mk (CPPFLAGS): New expanded variable.dos-reis2-4/+9
(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-reis16-34/+55
* 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-08-08do insist that default float format is double-float everywheredos-reis2-0/+10
2010-08-012010-08-01 Aleksej Saushev <asau@inbox.ru>dos-reis3-2/+7
* hyper/event.c: Include <sys/types.h> before other system headers. * hyper/hyper.c: Likewise.
2010-07-29 * clef/Makefile.in: Build and link programs by a C++ compiler.dos-reis9-40/+55
* clef/edible.c: Make it acceptable to a C++ compiler. * driver/utils.c: Likewise. * sman/sman.c: Likewise.
2010-07-29 * lib/XSpadFill.c: Tidy.dos-reis93-1180/+1245
* 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
2010-07-29 * algebra/sf.spad.pamphlet (DoubleFloat): Use builtindos-reis9-76/+113
trigonometric functions. * interp/g-opt.boot ($VMsideEffectFreeOperators): Include them. * interp/g-util.boot: Expand them. * include/edible.H1: Move declarations to clef/edible.c. Remove. * driver/utils.h: Give G linkage to declarations. * sman/Makefile.in: Link programs against C++ runtime.
2010-07-29 Support C++ as implementation language.dos-reis4-5/+14
* config/var-def.mk (CXXCOMPILE): New. (CXXLINK): Likewise.
2010-07-29 * interp/c-util.boot (removeToplevelRETURN_-FROM): New.dos-reis2-1/+16
(transformToBackendCode): Use it to clean function body.
2010-07-28 * interp/spad.lisp (DIVIDE2): Remove.dos-reis13-46/+58
* interp/vmlisp.lisp (QSQUOTIENT): Likewise. (QSREMAINDER): Likewise. * interp/buildom.boot: Use quo and rem in leur of QUOTIENT and REMAINDER or variants. * interp/g-timer.boot: Likewise. * interp/g-util.boot: Likewise. * interp/htsetvar.boot: Likewise. * interp/i-output.boot: Likewise. * interp/incl.boot: Likewise. * interp/msgdb.boot: Likewise. * interp/nrungo.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/topics.boot: Likewise.
2010-07-28 * interp/sys-globals.boot ($VariableCount): Remove.dos-reis17-49/+50
* interp/spad.lisp (QUOTIENT2): Remove. (REMAINDER2): Likewise. * algebra/integer.spad.pamphlet (Integer): Use builtin %idivide. * algebra/si.spad.pamphlet (SingleInteger): Likewise.
2010-07-28 * algebra/integer.spad.pamphlet (Integer): Use builtin functionsdos-reis11-22367/+22378
%irem and %iquo. * algebra/si.spad.pamphlet (SingleInteger): Likewise.
2010-07-28 * interp/g-opt.boot: Transform %iquo and %irem expressions.dos-reis2-0/+16
($VMsideEffectFreeOperators): Include %irem and %iquo.
2010-07-27 * boot/tokens.boot: quo and rem are now keywords and infix operators.dos-reis5-6/+27
* boot/parser.boot (bpEuclid): New. Parse integer quotient and remainder expressions. (bpMinus): Now build on bpEuclid instead of bpTimes.
2010-07-27 * interp/i-analy.boot (bottomUpCompile): Use massageBackendCode indos-reis2-1/+6
lieu of mutateToBackendCode.
2010-07-27 * interp/types.boot (%Code): Include %Char.dos-reis3-12/+18
* interp/c-util.boot (middleEndExpand): Temporarilty Comment out signature.
2010-07-27Misc cleanupdos-reis5-35/+35
2010-07-26 * interp/g-opt.boot (optCond): Work harder at denesting nesteddos-reis2-6/+10
if-expressions.
2010-07-26 * interp/g-opt.boot ($VMsideEffectFreeOperators): Include newdos-reis14-294/+334
opcodes %icst0, %icst1, %when, and %ccst. * interp/g-util.boot: Expand %ccst. * algebra/alql.spad.pamphlet: Clean up. * algebra/array1.spad.pamphlet: Likewise. * algebra/c02.spad.pamphlet: Likewise. * algebra/d03.spad.pamphlet: Likewise. * algebra/e04.spad.pamphlet: Likewise. * algebra/integer.spad.pamphlet: Likewise. * algebra/si.spad.pamphlet: Likewise. * algebra/string.spad.pamphlet: Likewise.
2010-07-26 * algebra/si.spad.pamphlet (SingleInteger): Tidy.dos-reis4-196/+214
* interp/g-opt.boot (simplifyVMForm): Expand %icst0 and %icst1. (optIlt): Fold more configurations.
2010-07-26 * interp/g-opt.boot (optCond): Simplify newly built COND-expression.dos-reis4-39/+35
2010-07-26 * interp/g-opt.boot (optimize): Remove as no longer used.dos-reis4-26/+11
* interp/define.boot (DomainSubstitutionFunction): Use simplifyVMForm in lieu of optimize. * interp/nruncomp.boot (NRTsetVector4a): Likewise.
2010-07-26 * interp/g-opt.boot (oprCond): Replace use of TruthP with directdos-reis2-2/+7
comparison to %true.
2010-07-25 (optCallSpecially): Remove deadcode.dos-reis3-12/+2
2010-07-25 * interp/g-opt.boot (optCall): Don't call optimize again.dos-reis2-14/+17
2010-07-25use simplifyVMForm instead of optimizedos-reis1-1/+1
2010-07-25 * interp/g-opt.boot (simplifyVMForm): Don't call optimize.dos-reis2-3/+21
(optCall): Handle VM macro expansions here.
2010-07-25 * interp/g-opt.boot (resetTo): New.dos-reis4-10/+26
(optCatch): Use it. (optCall): Likewise. (optSpecialCall): Likewise. (simplifyVMForm): Handle simple cases here. * interp/macros.lisp (RPLACW): Remove.
2010-07-25 * interp/g-opt.boot (optIadd): More simplification if either dos-reis3-1/+14
operand is zero. (optIsub): Likewise. (optImul): More simplifications if either operand is one.
2010-07-25 * interp/c-util.boot (usedSymbol?): Move to g-util.boot.dos-reis7-22/+30
* interp/nruncomp.boot (NRTsetVector4a): Tidy.
2010-07-25 * interp/cattable.boot: Use %true for truth value in VM expressions.dos-reis58-3040/+2971
* interp/clam.boot: Likewise. * interp/define.boot: Likewise. * interp/format.boot: Likewise. * interp/functor.boot: Likewise. * interp/g-opt.boot: Likewise. * interp/mark.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/pspad2.boot: Likewise. * interp/slam.boot: Likewise. * interp/wi1.boot: Likewise. * interp/wi2.boot: Likewise. * interp/sys-constants.boot: Remove $true and $false as unused.
2010-07-24 * interp/compiler.boot (compMatchAlternative): Don't generatedos-reis5-7/+22
LET-expressions. * interp/g-opt.boot (optBind): Tidy.
2010-07-23 * interp/g-opt.boot (optBind): Check for dependencies indos-reis11-81/+88
initializations in %bind expressions. * interp/g-util.boot (expandBind): The body of s %bind expression may be a sequence of statements.
2010-07-23 * interp/g-util.boot: Remove expansion for %ble, %bgt, %bge.dos-reis3-19/+21
* interp/g-opt.boot (optMINUS): Remove. (opt_-): Likewise. (optBle): New. (optBgt): Likewise. (optBge): Likewise.
2010-07-23 * interp/g-opt.boot (optMINUS): Remove.dos-reis2-31/+15
(opt_-): Likewise.
2010-07-23 * interp/g-util.boot (expandFeq): New.dos-reis4-39/+51
* algebra/sf.spad.pamphlet (DoubleFloat): Tidy.
2010-07-22more cleanupdos-reis5-18/+30
2010-07-22 * interp/g-util.boot (expandIeq): New expander for %ieq.dos-reis18-21627/+21667
* interp/g-opt.boot (optIeq): New. (optIadd): Likewise. (optIsub): Likewise. (optImul): Likewise. (optIneg): Likewise. (lispize): Remove.