aboutsummaryrefslogtreecommitdiff
path: root/src/sman/sman.c
AgeCommit message (Collapse)AuthorFilesLines
2014-08-16Avoid SBCL deprecated features.dos-reis1-9/+2
2013-06-30Simplify 'server' definition and use.dos-reis1-17/+8
2013-04-03Fix up fallout from C++11 switchdos-reis1-2/+2
2013-04-01More C cleanupsdos-reis1-1/+1
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-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-reis1-1/+0
* sman/Makefile.in (sman_LDADD): Include OpenAxiom library.
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-reis1-15/+16
* 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-07-29 * clef/Makefile.in: Build and link programs by a C++ compiler.dos-reis1-19/+19
* clef/edible.c: Make it acceptable to a C++ compiler. * driver/utils.c: Likewise. * sman/sman.c: Likewise.
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-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-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-reis1-2/+2
* 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-reis1-6/+4
* 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-reis1-3/+4
* 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-reis1-1/+1
* config/openaxiom-c-macros.h.in: Rename from config/axiom-c-macros.h.in. * src: Propagate change.
2008-04-26Cleanup, part 1.dos-reis1-5/+5
2008-03-26Use SIGABRT instead of SIGIOT if available (Cygwin)alfredoport1-0/+8
2008-03-15 * configure.ac.pamphlet (axiom_c_runtime): Don't include core, asdos-reis1-1/+0
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-08 * include/sockio.h: Rename from sockio-c.H1.dos-reis1-2/+2
* clef/edible.c: Don't include useproto.h. Include sockio.h * graph/view3D/surface3d.c.pamphlet: Likewise. * graph/viewman/fun2D.c.pamphlet: Likewise. * graph/viewman/fun3D.c.pamphlet: Likewise. * graph/viewman/make2D.c.pamphlet: Likewise. * graph/viewman/make3D.c.pamphlet: Likewise. * graph/viewman/makeGraph.c.pamphlet: Likewise. * graph/viewman/sselect.c.pamphlet: Likewise. * graph/viewman/viewman.c.pamphlet: Likewise. * graph/viewman/viewman.h: Likewise. * hyper/ReadBitmap.c: Likewise. * hyper/addfile.c: Likewise. * hyper/cond.c: Likewise. * hyper/debug.c: Likewise. * hyper/dialog.c: Likewise. * hyper/display.c: Likewise. * hyper/event.c: Likewise. * hyper/ex2ht.c: Likewise. * hyper/extent1.c: Likewise. * hyper/extent2.c: Likewise. * hyper/form-ext.c: Likewise. * hyper/group.c: Likewise. * hyper/halloc.c: Likewise. * hyper/hash.c: Likewise. * hyper/htadd.c: Likewise. * hyper/hterror.c: Likewise. * hyper/htinp.c: Likewise. * hyper/hyper.c: Likewise. * hyper/initx.c: Likewise. * hyper/input.c: Likewise. * hyper/item.c: Likewise. * hyper/keyin.c: Likewise. * hyper/lex.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-types.c: Likewise. * hyper/parse.c: Likewise. * hyper/scrollbar.c: Likewise. * hyper/show-types.c: Likewise. * hyper/spadbuf.c: Likewise. * hyper/spadint.c: Likewise. * hyper/titlebar.c: Likewise. * lib/sockio-c.c: Likewise. * sman/session.c: Likewise. * sman/sman.c: Likewise. * include/useproto.h: Remove.
2008-02-10Add support for batch processing.dos-reis1-25/+52
2008-01-07 * sman/sman.c: Remove debug and dead codes.dos-reis1-92/+13
2007-12-05 * Makefile.pamphlet: Remove rules for extracting files fromdos-reis1-0/+826
pamphlets. (%.lo): Adjust include directory. (mostlyclean-local): Don't remove source files and headers. * nagman.c.pamphlet: Remove. * session.c.pamphlet: Likewise. * sman.c.pamphlet: Likewise. * sessions.c: New. * sman.h: Likewise. * sman.c: Likewise.