aboutsummaryrefslogtreecommitdiff
path: root/src/driver/main.c
AgeCommit message (Collapse)AuthorFilesLines
2009-10-25 * lib/cfuns-c.c (oa_concatenate_string): Define.dos-reis1-3/+34
* 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-09-30 * sman/sman.c (fix_env): Simplify.dos-reis1-0/+1
(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-reis1-13/+2
* driver/main.c (publish_systemdir): Rework. * include/cfuns.h (oa_setenv): Declare. * lib/cfuns-c.c (oa_setenv): Define.
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-reis1-1/+3
* 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 * 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-reis1-1/+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-02-10Add support for batch processing.dos-reis1-141/+22
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-reis1-0/+220
* 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.