Changeset d5bd4bc in git
- Timestamp:
- Mar 13, 2013, 4:49:38 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 04e7556fe730216bd564bec951a95057bd31b6fc
- Parents:
- ede7a69d54c25b9d0c8b81afc4a499d622183a15ed29fb4605d820ab1aafd221b2254f3a72ef4c3c
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
red29fb rd5bd4bc 9 9 *.la 10 10 .libs 11 doc/12 11 AUTOGEN_generated_stuff 13 12 MOD -
Singular/tesths.cc
red29fb rd5bd4bc 49 49 #include <time.h> 50 50 #include <errno.h> 51 #ifdef HAVE_SIMPLEIPC 52 #include <Singular/links/simpleipc.h> 53 #endif 54 55 51 56 52 57 … … 124 129 if (optc == 'h') exit(0); 125 130 } 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 126 138 127 139 /* say hello */ -
doc/INSTALL_unix.texi
red29fb rd5bd4bc 74 74 cd /usr/local 75 75 or 76 mkdir install;cd install 76 mkdir install;cd install 77 77 (you do not need root privileges in this case) 78 78 @end smallexample … … 191 191 192 192 By default, on-line help is displayed in @code{html} format using 193 the @code{netscape} program.193 a web browser. 194 194 195 195 However, this behavior can be customized in several ways -
doc/Makefile.in
red29fb rd5bd4bc 67 67 EX_SUBDIR = ./examples 68 68 CHKSUM_DB = ${DOC_SUBDIR}/chksum 69 DOC2TEX_EXAMPLE_EXCLUSIONS = @DOC2TEX_EXAMPLE_EXCLUSIONS@ 69 70 DOC2TEX = ${PERL} ./doc2tex.pl -docdir ${DOC_SUBDIR} \ 70 71 -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} 73 TAG = 74 PL2DOC = ${PERL} ./pl2doc.pl ${TAG} -db ${CHKSUM_DB} 73 75 74 76 # t2h stuff -
doc/doc2tex.pl
red29fb rd5bd4bc 539 539 sub HandleLib 540 540 { 541 my($lib, $proc, $n_fun, $n_ex, $section, $tex_file );541 my($lib, $proc, $n_fun, $n_ex, $section, $tex_file, $tag); 542 542 543 543 if (/^\@c\s*lib\s+([^\.]+)\.lib(.*)/) … … 551 551 print TEX $_; 552 552 return; 553 } 554 if (/tag:(\w+)/) 555 { 556 $tag = "TAG='-tag ".$1."'"; 557 } 558 else 559 { 560 $tag = ''; 553 561 } 554 562 … … 574 582 { 575 583 print "<lib $lib " if ($verbose); 576 System("$make $make_opts VERBOSE=$verbose $tex_file");584 System("$make $make_opts $tag VERBOSE=$verbose $tex_file"); 577 585 } 578 586 -
doc/lib2doc.texi
red29fb rd5bd4bc 4 4 5 5 @code{lib2doc} is a utility to generate the stand-alone documentation for 6 a @sc{Singular} library in various formats. 6 a @sc{Singular} library in various formats. 7 7 8 8 The @code{lib2doc} utility should be used by developers of @sc{Singular} … … 14 14 15 15 16 @strong{Important:} 17 @*To use @code{lib2doc}, you need 16 @strong{Important:} 17 @*To use @code{lib2doc}, you need 18 18 to have @code{perl} (version 5 or 19 19 higher), @code{texinfo} (version 3.12 or higher) and @code{Singular} … … 27 27 gzip -dc lib2doc.tar.gz | tar -pxf - 28 28 @end smallexample 29 and 29 and 30 30 @smallexample 31 31 cd lib2doc 32 32 @end smallexample 33 33 34 @item 34 @item 35 35 Edit 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} 37 37 and @code{LATEX2HTML}. 38 38 39 @item 39 @item 40 40 Copy your library to the current directory: 41 41 @smallexample … … 43 43 @end smallexample 44 44 45 @item 45 @item 46 46 Now you can run the following commands: 47 47 @table @code … … 68 68 of @code{mylib.lib}. This file can be viewed using (for example) 69 69 @smallexample 70 netscapemylib.html70 firefox mylib.html 71 71 @end smallexample 72 72 @item make clean … … 76 76 77 77 Note that you can safely ignore messages complaining about undefined 78 references. 78 references. 79 79 80 80 @end enumerate -
doc/pl2doc.pl
red29fb rd5bd4bc 20 20 if (/^-o$/) { $out_file = shift(@ARGV); next;} 21 21 if (/^-db$/) { $db_file = shift(@ARGV); next;} 22 if (/^-tag$/) { $tag = $tag . " tag:" . shift(@ARGV); next;} 22 23 if (/^-no_fun$/) { $no_fun = 1;next;} 23 24 if (/^-doc$/) { $doc = 1; next;} … … 120 121 { 121 122 print LDOC "\@strong{Example:}\n"; 122 print LDOC "\@smallexample\n\@c example \n";123 print LDOC "\@smallexample\n\@c example$tag\n"; 123 124 print LDOC $ex; 124 125 print LDOC "\n\@c example\n\@end smallexample\n"; -
doc/singular.man
red29fb rd5bd4bc 51 51 .TP 52 52 \fB\-\-browser\fR=\fIBROWSER\fR 53 Display help in BROWSER ([x,tk]info, netscape) 53 Display help in BROWSER ([x,tk]info, firefox, ...) 54 .TP 55 \fB\-\-cntrlc\fR=\fIC\fR 56 non-interactive interrupt handling: C is the answer to (a)bort, (c)ontinue, (q)uit 54 57 .TP 55 58 \fB\-\-emacs\fR … … 85 88 \fB\-\-ticks\-per\-sec\fR=\fITICKS\fR 86 89 Sets unit of timer to TICKS per second 90 .TP 91 \fB\-\-cpus\fR=\fICPUS\fR 92 maximal number of CPUs to use 87 93 .PP 88 94 For more information, type `help;' from within Singular or visit -
findexec/feResource.cc
red29fb rd5bd4bc 77 77 ""}, 78 78 {"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 *)""}, 80 80 {"RootDir", 'r', feResDir, "SINGULAR_ROOT_DIR", "%b/..", (char *)""}, 81 81 {"DataDir", 'D', feResDir, "SINGULAR_DATA_DIR", "%b/../share", (char *)""}, -
libpolys/polys/clapsing.cc
rede7a69 rd5bd4bc 63 63 if (rField_is_Q(r) || (rField_is_Zp(r))) 64 64 { 65 bool b1=isOn(SW_USE_EZGCD_P);66 Off (SW_USE_NTL_GCD_P);67 65 setCharacteristic( rChar(r) ); 68 66 CanonicalForm F( convSingPFactoryP( f,r ) ), G( convSingPFactoryP( g, r ) ); 69 67 res=convFactoryPSingP( gcd( F, G ) , r); 70 if (!b1) Off (SW_USE_EZGCD_P);71 68 } 72 69 // and over Q(a) / Fp(a) … … 113 110 { 114 111 bool b1=isOn(SW_USE_EZGCD_P); 115 Off (SW_USE_NTL_GCD_P);116 112 setCharacteristic( rChar(r) ); 117 113 F=convSingPFactoryP( f,r );
Note: See TracChangeset
for help on using the changeset viewer.