Changeset d5bd4bc in git


Ignore:
Timestamp:
Mar 13, 2013, 4:49:38 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5a0dde71de01068fad5736a17555c993ecbbf495')
Children:
04e7556fe730216bd564bec951a95057bd31b6fc
Parents:
ede7a69d54c25b9d0c8b81afc4a499d622183a15ed29fb4605d820ab1aafd221b2254f3a72ef4c3c
Message:
Merge pull request #306 from mmklee/switch

chg: removed switching off of switches
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    red29fb rd5bd4bc  
    99*.la
    1010.libs
    11 doc/
    1211AUTOGEN_generated_stuff
    1312MOD
  • Singular/tesths.cc

    red29fb rd5bd4bc  
    4949#include <time.h>
    5050#include <errno.h>
     51#ifdef HAVE_SIMPLEIPC
     52#include <Singular/links/simpleipc.h>
     53#endif
     54
     55
    5156
    5257
     
    124129    if (optc == 'h') exit(0);
    125130  }
     131
     132// semaphore0: CPUs --------------------------------------------------
     133#ifdef HAVE_SIMPLEIPC
     134  feOptIndex cpu_opt = feGetOptIndex("cpus");
     135  int cpus = (int)(long)feOptValue(FE_OPT_CPUS);
     136  sipc_semaphore_init(0, cpus);
     137#endif
    126138
    127139  /* say hello */
  • doc/INSTALL_unix.texi

    red29fb rd5bd4bc  
    7474cd /usr/local
    7575or
    76 mkdir install;cd install 
     76mkdir install;cd install
    7777(you do not need root privileges in this case)
    7878@end smallexample
     
    191191
    192192By default, on-line help is displayed in @code{html} format using
    193 the @code{netscape} program.
     193a web browser.
    194194
    195195However, this behavior can be customized in several ways
  • doc/Makefile.in

    red29fb rd5bd4bc  
    6767EX_SUBDIR       = ./examples
    6868CHKSUM_DB       = ${DOC_SUBDIR}/chksum
     69DOC2TEX_EXAMPLE_EXCLUSIONS = @DOC2TEX_EXAMPLE_EXCLUSIONS@
    6970DOC2TEX         = ${PERL} ./doc2tex.pl -docdir ${DOC_SUBDIR} \
    7071                  -Singular ${SINGULAR} -verbose ${VERBOSE} -make ${MAKE} \
    71                   -exdir ${EX_SUBDIR} @DOC2TEX_EXAMPLE_EXCLUSIONS@
    72 PL2DOC          = ${PERL} ./pl2doc.pl -db ${CHKSUM_DB}
     72                  -exdir ${EX_SUBDIR} ${DOC2TEX_EXAMPLE_EXCLUSIONS}
     73TAG             =
     74PL2DOC          = ${PERL} ./pl2doc.pl ${TAG} -db ${CHKSUM_DB}
    7375
    7476# t2h stuff
  • doc/doc2tex.pl

    red29fb rd5bd4bc  
    539539sub HandleLib
    540540{
    541   my($lib, $proc, $n_fun, $n_ex, $section, $tex_file);
     541  my($lib, $proc, $n_fun, $n_ex, $section, $tex_file, $tag);
    542542
    543543  if (/^\@c\s*lib\s+([^\.]+)\.lib(.*)/)
     
    551551    print TEX $_;
    552552    return;
     553  }
     554  if (/tag:(\w+)/)
     555  {
     556    $tag = "TAG='-tag ".$1."'";
     557  }
     558  else
     559  {
     560    $tag = '';
    553561  }
    554562
     
    574582  {
    575583    print "<lib $lib " if ($verbose);
    576     System("$make $make_opts VERBOSE=$verbose $tex_file");
     584    System("$make $make_opts $tag VERBOSE=$verbose $tex_file");
    577585  }
    578586 
  • doc/lib2doc.texi

    red29fb rd5bd4bc  
    44
    55@code{lib2doc} is a utility to generate the stand-alone documentation for
    6 a @sc{Singular} library in various formats. 
     6a @sc{Singular} library in various formats.
    77
    88The @code{lib2doc} utility should be used by developers of @sc{Singular}
     
    1414
    1515
    16 @strong{Important:} 
    17 @*To use @code{lib2doc}, you need 
     16@strong{Important:}
     17@*To use @code{lib2doc}, you need
    1818to have @code{perl} (version 5 or
    1919higher), @code{texinfo} (version 3.12 or higher)  and @code{Singular}
     
    2727gzip -dc  lib2doc.tar.gz | tar -pxf -
    2828@end smallexample
    29 and 
     29and
    3030@smallexample
    3131cd lib2doc
    3232@end smallexample
    3333
    34 @item 
     34@item
    3535Edit the beginning of the file @code{Makefile}, filling in the values for
    36 @code{SINGULAR} and @code{LIBPARSE}. Check also the values of @code{PERL} 
     36@code{SINGULAR} and @code{LIBPARSE}. Check also the values of @code{PERL}
    3737and @code{LATEX2HTML}.
    3838
    39 @item 
     39@item
    4040Copy your library to the current directory:
    4141@smallexample
     
    4343@end smallexample
    4444
    45 @item 
     45@item
    4646Now you can run the following commands:
    4747@table @code
     
    6868of @code{mylib.lib}. This file can be viewed using (for example)
    6969@smallexample
    70 netscape mylib.html
     70firefox mylib.html
    7171@end smallexample
    7272@item make clean
     
    7676
    7777Note that you can safely ignore messages complaining about undefined
    78 references. 
     78references.
    7979
    8080@end enumerate
  • doc/pl2doc.pl

    red29fb rd5bd4bc  
    2020  if (/^-o$/)    { $out_file = shift(@ARGV); next;}
    2121  if (/^-db$/) { $db_file = shift(@ARGV); next;}
     22  if (/^-tag$/) { $tag = $tag . " tag:" . shift(@ARGV); next;}
    2223  if (/^-no_fun$/)    { $no_fun = 1;next;}
    2324  if (/^-doc$/)       { $doc = 1; next;}
     
    120121    {
    121122      print LDOC "\@strong{Example:}\n";
    122       print LDOC "\@smallexample\n\@c example\n";
     123      print LDOC "\@smallexample\n\@c example$tag\n";
    123124      print LDOC $ex;
    124125      print LDOC "\n\@c example\n\@end smallexample\n";
  • doc/singular.man

    red29fb rd5bd4bc  
    5151.TP
    5252\fB\-\-browser\fR=\fIBROWSER\fR
    53 Display help in BROWSER ([x,tk]info, netscape)
     53Display help in BROWSER ([x,tk]info, firefox, ...)
     54.TP
     55\fB\-\-cntrlc\fR=\fIC\fR
     56non-interactive interrupt handling: C is the answer to (a)bort, (c)ontinue, (q)uit
    5457.TP
    5558\fB\-\-emacs\fR
     
    8588\fB\-\-ticks\-per\-sec\fR=\fITICKS\fR
    8689Sets unit of timer to TICKS per second
     90.TP
     91\fB\-\-cpus\fR=\fICPUS\fR
     92maximal number of CPUs to use
    8793.PP
    8894For more information, type `help;' from within Singular or visit
  • findexec/feResource.cc

    red29fb rd5bd4bc  
    7777   ""},
    7878  {"Singular",  'S',    feResBinary,"SINGULAR_EXECUTABLE",  "%d/Singular",          (char *)""},
    79   {"BinDir",    'b',    feResDir,   "SINGULAR_BIN_DIR",     "%d/",                  (char *)""},
     79  {"BinDir",    'b',    feResDir,   "SINGULAR_BIN_DIR",     "%d/MOD/",                  (char *)""},
    8080  {"RootDir",   'r',    feResDir,   "SINGULAR_ROOT_DIR",    "%b/..",                (char *)""},
    8181  {"DataDir",   'D',    feResDir,   "SINGULAR_DATA_DIR",    "%b/../share",          (char *)""},
  • libpolys/polys/clapsing.cc

    rede7a6 rd5bd4bc  
    6363  if (rField_is_Q(r) || (rField_is_Zp(r)))
    6464  {
    65     bool b1=isOn(SW_USE_EZGCD_P);
    66     Off (SW_USE_NTL_GCD_P);
    6765    setCharacteristic( rChar(r) );
    6866    CanonicalForm F( convSingPFactoryP( f,r ) ), G( convSingPFactoryP( g, r ) );
    6967    res=convFactoryPSingP( gcd( F, G ) , r);
    70     if (!b1) Off (SW_USE_EZGCD_P);
    7168  }
    7269  // and over Q(a) / Fp(a)
     
    113110  {
    114111    bool b1=isOn(SW_USE_EZGCD_P);
    115     Off (SW_USE_NTL_GCD_P);
    116112    setCharacteristic( rChar(r) );
    117113    F=convSingPFactoryP( f,r );
Note: See TracChangeset for help on using the changeset viewer.