aboutsummaryrefslogtreecommitdiff
path: root/src/sman
AgeCommit message (Collapse)AuthorFilesLines
2022-10-29Fix some compiler warnings & buffer overflowsIgor Pashev1-0/+2
2015-03-08Fix misc warnings.dos-reis1-1/+1
2014-08-16Avoid SBCL deprecated features.dos-reis1-9/+2
2014-02-24Rename CXXCOMPILE to COMPILE and CXXLINK to LINKdos-reis1-4/+4
2014-02-10Clean up global variable names.dos-reis1-3/+3
2014-02-03Fix global variable names in Makefilesdos-reis1-4/+4
2013-06-30Simplify 'server' definition and use.dos-reis2-22/+13
2013-04-03Fix up fallout from C++11 switchdos-reis1-2/+2
2013-04-01Fix sed issue on MAC OS X Montain Liondos-reis2-0/+2
2013-04-01More C cleanupsdos-reis3-4/+5
2012-05-10 * hyper/initx.c: Fixed spelling errors.Igor Pashev1-1/+1
* hyper/macro.c (parse_macro): Likewise. * sman/sman.c (manage_spad_io): Likewise.
2011-08-19Fix Graphics components startupalfredoport1-24/+40
2011-06-30 * sman/sman.c (main): Don't start Hyperdoc if no X11 server is running.dos-reis1-1/+2
2011-06-26Fix thinkodos-reis1-1/+1
2011-06-26 * sman/Makefile.in (oa_OpenAxiom_ldflags): New.dos-reis1-2/+4
(spadclient_LDADD): Use it. (sman_LDADD): Likewise.
2011-06-25 * sman/sman.c (main): Don't start the graphics and no X11 serverdos-reis1-1/+1
is running.
2011-06-25 * sman/sman.c (main): Don't start the graphics and no X11 serverdos-reis1-1/+2
is running.
2011-06-15 * sman/sman.c: utils.h no longer exists.dos-reis2-4/+4
* sman/Makefile.in (sman_LDADD): Include OpenAxiom library.
2011-06-05Fix thinkodos-reis1-3/+5
2010-11-28 (all-lisp): Require all-driver.dos-reis1-1/+1
* driver/utils.c: Tidy. * driver/utils.h: Likewise. * sman/sman.c: Likewise.
2010-11-28 * clef/: Add using directive at toplevel.dos-reis3-20/+25
* etc/: Likewise. * graph/: Likewise. * hyper/: Likewise. * lib/: Likewise. * sman/: Likewise. * Makefile.am (OA_SMAN_TARGETS): New. (OA_GRAPHICS_TARGETS): Likewise.
2010-11-22(no commit message)dos-reis1-1/+1
2010-08-18Remove CCF variablesdos-reis1-1/+1
2010-07-29 * clef/Makefile.in: Build and link programs by a C++ compiler.dos-reis3-21/+21
* 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-4/+4
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.
2009-10-25 * lib/cfuns-c.c (oa_concatenate_string): Define.dos-reis1-8/+8
* 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 (should_I_clef): Remove.dos-reis1-12/+1
2009-09-30 * sman/sman.c (fix_env): Simplify.dos-reis1-37/+27
(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-21 * configure.ac.pamphlet: Don't unconditionally initialize CCF.dos-reis1-3/+3
* config/var-def.mk (PLF): Remove. (LDF): Likewise. (LISP): Likewise.
2009-09-162009-09-16 Kosta Oikonomou <ko@research.att.com>dos-reis1-7/+4
Gabriel Dos Reis <gdr@cs.tamu.edu> * configure.ac.pamphlet: Don't insist on GNU C compiler if we don't use GCL. Check for nsl on Solaris boxes. * config/var-def.mk (oa_c_libs): New. src/ 2009-09-16 Kosta Oikonomou <ko@research.att.com> Gabriel Dos Reis <gdr@cs.tamu.edu> * graph/viewAlone/Makefile.in (viewAlone_LDADD): Include $(AXIOM_X11_LDFLAGS) and $(oa_c_libs). * graph/viewman/Makefile.in (viewman_LDADD): Likewise. * hyper/Makefile.in (htadd_LDADD): Likewise. * sman/Makefile.in (session_LDADD): Include $(oa_c_libs). (spadclient_LDADD): Likewise. (sman_LDADD): Likewise.
2009-05-14 Fix SF/2790725 (take 2)dos-reis3-0/+4
* 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-reis3-2/+8
* 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-6/+11
* 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-01 Fix AW/2212001dos-reis1-5/+8
* sman/sman.c (process_arguments): Fix thinko. (process_options): Complain about unknown options.
2008-11-01 * sman/sman.c (ptsPath): Remove.dos-reis2-5/+5
* 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-24Use oa_getenv function.alfredoport1-1/+1
2008-09-09 * lib/sockio-c.c (openaxiom_sleep): Move to open-axiom.h.dos-reis2-8/+7
* 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-08-19 * include/open-axiom.h (oa_buffer_address): New macro.dos-reis2-9/+12
* sman/session.c (read_from_spad_io): Use It. (accept_session_connection): Likewise. (read_from_session): Likewise. * sman/sman.c (read_from_spad_io): Likewise. (read_from_manager): Likewise. (exec_command_env): Explicitly cast the null pointer to char*.
2008-08-09 * include/open-axiom.h (OPENAXIOM_HAVE_GRAPHICS): Define.dos-reis1-3/+3
* sman/sman.c (process_arguments): Use it. (process_arguments): Likewise.
2008-08-09Do not start hyperdoc/graphics if OpenAxiom was build without X suppport.alfredoport1-7/+28
2008-04-28 * configure.ac.pamphlet: Check from uint8_t.dos-reis3-3/+3
* config/openaxiom-c-macros.h.in: Rename from config/axiom-c-macros.h.in. * src: Propagate change.
2008-04-26Cleanup, part 1.dos-reis3-44/+46
2008-04-01 * include/nagman.H1: Remove.dos-reis2-2/+14
* 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-reis1-4/+0
* hyper/spadbuf.c: Remove conditional inclusion of <bstring.h> * sman/session.c: Likewise. * hyper/halloc.c: Remove conditional inclusion of <malloc.h>
2008-03-27Fix DLL build on cygwin.dos-reis1-1/+1
2008-03-26Use SIGABRT instead of SIGIOT if available (Cygwin)alfredoport1-0/+8
2008-03-26Fix shared linking regressiondos-reis1-6/+8
2008-03-16 * lib/Makefile.in ($(axiom_target_libdir)/libopen-axiom-core.$(DLLEXT)): Tidy.dos-reis1-1/+1
($(axiom_target_libdir)/libspad.la): Likewise.
2008-03-15 * configure.ac.pamphlet (axiom_c_runtime): Don't include core, asdos-reis4-4/+2
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.