aboutsummaryrefslogtreecommitdiff
path: root/src/driver
AgeCommit message (Collapse)AuthorFilesLines
2013-04-03Fix up fallout from C++11 switchdos-reis1-12/+12
2013-04-02Use oa_setenvdos-reis1-2/+2
2011-06-23 * driver/Makefile.in (open_axiom_LDADD): Use library archives fordos-reis1-1/+6
linking, to prevent accidental use of dynamic libraries.
2011-06-05 * driver/main.cc (upgrade_environment): Augment PATH for Windowsdos-reis1-0/+4
DLL search.
2011-06-05 * boot/ast.boot: Remove debugging statement.dos-reis1-1/+1
* driver/Makefile.in (open-axiom$(EXEEXT)): Link statically.
2011-06-03Enable the new GUI interface as default driver dos-reis1-0/+1
on Windows platforms with QT available.
2011-06-02more utility code consolidationdos-reis2-551/+5
2011-06-02consolidate utility codesdos-reis4-118/+22
2010-11-30 * driver/utils.cc: Commonalize some of option handling code.dos-reis2-8/+32
2010-11-30 Rename src/driver/main.c to src/driver/main.ccdos-reis3-4/+4
Rename src/driver/utils.c to src/driver/utils.cc
2010-11-30 * etc/Makefile.in: Use the driver.dos-reis3-5/+35
* driver/utils.c (get_suffix): New. (option_value): Likewise. (preprocess_arguments): Handle --translate and --build-databases. * driver/main.c (upgrade_environment): Change argument type to Command. Upgrade LD_LIBRARY_PATH too. * boot/translator.boot (loadSystemRuntimeCore): Don't prefix the shared library file name with the system path.
2010-11-29Add support for translator and linker in the driverdos-reis3-9/+19
2010-11-28 (all-lisp): Require all-driver.dos-reis3-131/+186
* driver/utils.c: Tidy. * driver/utils.h: Likewise. * sman/sman.c: Likewise.
2010-11-28 * clef/: Add using directive at toplevel.dos-reis3-89/+93
* etc/: Likewise. * graph/: Likewise. * hyper/: Likewise. * lib/: Likewise. * sman/: Likewise. * Makefile.am (OA_SMAN_TARGETS): New. (OA_GRAPHICS_TARGETS): Likewise.
2010-11-19 * driver/utils.c (openaxiom_allocate_argv): New.dos-reis2-27/+35
(openaxiom_build_rts_options): Use it. Tidy. Handle Clozure CL and CLISP.
2010-08-27(no commit message)dos-reis1-1/+1
2010-08-26 * utils/Makefile.in: Install libOpenAxiom.ados-reis4-2/+29
* driver/main.c (print_configuration_info): New. (main): Handle --config. * driver/utils.c (openaxiom_build_rts_options): Likewise. * driver/utils.h (openaxiom_config_driver): New driver enumerator.
2010-08-18Remove CCF variablesdos-reis1-1/+1
2010-07-29 * clef/Makefile.in: Build and link programs by a C++ compiler.dos-reis1-11/+12
* clef/edible.c: Make it acceptable to a C++ compiler. * driver/utils.c: Likewise. * sman/sman.c: Likewise.
2010-07-29 * algebra/sf.spad.pamphlet (DoubleFloat): Use builtindos-reis1-0/+10
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-reis3-5/+5
* config/var-def.mk (CXXCOMPILE): New. (CXXLINK): Likewise.
2010-06-05 * driver/utils.c (openaxiom_execute_core): Don't let CLISP fooldos-reis2-1/+5
itself.
2010-02-08 Add support for CLozure CL.dos-reis1-1/+2
* lisp/core.lisp.in: Add support for Clozure CL. (main): Remove as unused. * driver/utils.h (openaxiom_runtime): Add openaxiom_clozure_runtime. * boot/translator.boot (loadNativeModule): Handle Clozure CL. * boot/ast.boot (nativeType): Handle Clozure's FFI types. (nativeReturnType): Likewise. (coerceToNativeType): Likewise. (genCLOZUREnativeTranslation): New. (genImportDeclaration): Use it. * interp/vmlisp.lisp (SINTP): Remove duplicate definition. (SMINTP): Likewise. (ZERO?): Likewise. (GCMSG): Reorganize definition. (BPINAME): Likewise.
2009-10-26 * share/tex/open-axiom.sty: New.dos-reis1-0/+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-reis3-54/+87
* 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-03Commit last change for OpenSolarisdos-reis1-1/+1
2009-10-01 * driver/Makefile.in (open_axiom_LDADD): Prefer libraries from builddos-reis1-1/+1
lib/ directory.
2009-09-30 * sman/sman.c (fix_env): Simplify.dos-reis4-1/+14
(exec_command_env): Lose second parameter. (fork_Axiom): Take a new parameter. (start_the_Axiom): Adjust. (main): Likewise. * interp/int-top.boot (printFirstPrompt?): New. (SpadInterpretStream): Use it. * driver/utils.h (openaxiom_allocate_command_argv): Declare. * driver/utils.c (openaxiom_allocate_command_argv): Define. * driver/Makefile.in (open-axiom$(EXEEXT)): Link statically.
2009-09-30 * driver/Makefile.in (open-axiom): Link against core runtime.dos-reis2-15/+6
* driver/main.c (publish_systemdir): Rework. * include/cfuns.h (oa_setenv): Declare. * lib/cfuns-c.c (oa_setenv): Define.
2009-06-13 * driver/utils.c (openaxiom_execute_core): Workaround GCL oddity.dos-reis1-2/+14
2009-05-17 * configure.ac.pamphlet: Tidy Lisp systems invocation options.dos-reis1-1/+1
2009-05-14 Fix SF/2790725 (take 2)dos-reis1-0/+1
* driver/main.c (main): Set LC_ALL to C. * hyper/ex2ht.c (main): Likewise. * hyper/htadd.c (main): Likewise. * hyper/hthits.c (main): Likewise. * hyper/hyper.c (main): Likewise. * hyper/spadbuf.c (main): Likewise. * clef/edible.c (main): Likewise. * sman/session.c (main): Likewise. * sman/sman.c (main): Likewise. * sman/spadclient.c (main): Likewise.
2009-05-13 Fix SF/2790725dos-reis1-0/+2
* driver/main.c (main): Set locale to nothing. * hyper/ex2ht.c (main): Likewise. * hyper/htadd.c (main): Likewise. * hyper/hthits.c (main): Likewise. * hyper/hyper.c (main): Likewise. * hyper/spadbuf.c (main): Likewise. * clef/edible.c (main): Likewise. * sman/session.c (main): Likewise. * sman/sman.c (main): Likewise. * sman/spadclient.c (main): Likewise.
2009-04-14 Fix SF/2760560dos-reis3-31/+93
* driver/utils.h (openaxiom_driver): Add openaxiom_null_driver. Document all of them. * driver/utils.c (print_line): New. (print_version): Print version information. (print_usage): Print option documentation. (openaxiom_preprocess_arguments): Handle --help and --version. * driver/main.c (main): Do nothing for the null driver. * sman/sman.c (process_arguments): Accept long form of options.
2008-11-02 * driver/utils.c (OPENAXIOM_DEFAULT_DRIVER): Can no longer bedos-reis1-13/+50
openaxiom_unknown_driver. (openaxiom_preprocess_arguments): If a file is specified, then it is a script unless told otherwise.
2008-11-02 * interp/g-util.boot: Import "ggreater".dos-reis1-1/+1
* interp/category.boot: Import "g-cndata" * interp/c-util.boot: Import "g-opt". * interp/Makefile.pamphlet: Adjust Make rules.
2008-10-26 * clef/edible.c: #include "cfuns.h" for oa_getenv use.dos-reis2-1/+4
* 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-04-28 * configure.ac.pamphlet: Check from uint8_t.dos-reis2-2/+2
* config/openaxiom-c-macros.h.in: Rename from config/axiom-c-macros.h.in. * src: Propagate change.
2008-04-19 * driver/utils.c (openaxiom_build_rts_options): Fix thinko.dos-reis1-3/+4
2008-03-28 * interp/int-top.boot (intloopReadConsole): Use $InputStream.dos-reis1-1/+15
* 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-02-15Handle path with embedded space as arguments.dos-reis1-6/+7
2008-02-10Fix thinkodos-reis1-2/+2
2008-02-10Fix typo.dos-reis1-3/+3
2008-02-10Add support for batch processing.dos-reis4-147/+391
2008-01-06 * driver/main.c (main) [__WIN32__]: Fix off-by-one thinko.dos-reis1-4/+4
2008-01-052008-01-05 Gabriel Dos Reis <gdr@cs.tamu.edu>dos-reis2-0/+289
* configure.ac.pamphlet: For mingw host, default $prefix to C:/Program Files/OpenAxiom. Don't instantiate src/script/axiom. Instantiate src/driver/Makefile. Tidy. * Makefile.pamphlet: Tidy. * config/axiom-c-macros.h.in: Update. src/ 2008-01-05 Gabriel Dos Reis <gdr@cs.tamu.edu> * scripts/axiom.in: Remove. * driver: New directory. * driver/main.c: New. Now implement driver as native application.