Changeset 1f1fb0 in git


Ignore:
Timestamp:
Jan 21, 2013, 4:58:03 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
Children:
b4ecd22b9bdea4a7363a92025f6b381893dd49e1
Parents:
5b32a17feb4f0be885f1224b99e80004ed814aabe9caeb23e27bc7fab621c6235aab294ec4f32681
Message:
Merge branch 'spielwiese' into sw_fix

* spielwiese:
  add: names(int level) added
  chg: change omAlloc policy: OM_DEFAULT_PAGES_PER_REGION to 512 (2 MB)
  fix: porting singnal handling (win, etc.)
  add: option(noredefine) also for export
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/dmod.lib

    re9caeb r1f1fb0  
    17211721  dbprint(ppl-1, @R4);
    17221722  ideal K4 = imap(@R2,K2);
     1723  intvec saveopt=option(get);
    17231724  option(redSB);
    17241725  dbprint(ppl,"// -3-2- the final cosmetic std");
     
    17311732  ideal LD = K4;
    17321733  export LD;
     1734  option(set,saveopt);
    17331735  return(@R4);
    17341736}
  • Singular/LIB/finvar.lib

    re9caeb r1f1fb0  
    64626462  int dgb=degBound;
    64636463  degBound = 0;
     6464  intvec saveopt=option(get);
    64646465  option(redSB);
    64656466  ideal sP = groebner(ideal(P));
  • Singular/cntrlc.cc

    r5b32a1 r1f1fb0  
    563563void init_signals()
    564564{
     565  #ifdef SIGSEGV
    565566  si_set_signal(SIGSEGV,(si_hdl_typ)sigsegv_handler);
     567  #endif
     568  #ifdef SIGBUS
     569  si_set_signal(SIGBUS, (si_hdl_typ)sigsegv_handler);
     570  #endif
     571  #ifdef SIGFPE
    566572  si_set_signal(SIGFPE, (si_hdl_typ)sigsegv_handler);
     573  #endif
     574  #ifdef SIGILL
    567575  si_set_signal(SIGILL, (si_hdl_typ)sigsegv_handler);
     576  #endif
     577  #ifdef SIGIOT
    568578  si_set_signal(SIGIOT, (si_hdl_typ)sigsegv_handler);
     579  #endif
    569580  si_set_signal(SIGINT ,(si_hdl_typ)sigint_handler);
    570581  si_set_signal(SIGCHLD, (si_hdl_typ)sig_chld_hdl);
  • Singular/ipid.cc

    re9caeb r1f1fb0  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
     4
    45/*
    56* ABSTRACT: identfier handling
  • Singular/ipid.h

    re9caeb r1f1fb0  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
     6
    67/*
    78* ABSTRACT: identfier handling
  • Singular/iplib.cc

    re9caeb r1f1fb0  
    293293  return NULL;
    294294}
     295#ifndef LIBSINGULAR
     296// see below:
     297struct soptionStruct
     298{
     299  const char * name;
     300  unsigned   setval;
     301  unsigned   resetval;
     302};
     303extern struct soptionStruct optionStruct[];
     304extern struct soptionStruct verboseStruct[];
     305#endif
    295306
    296307BOOLEAN iiAllStart(procinfov pi, char *p,feBufferTypes t, int l)
  • kernel/kutil.cc

    re9caeb r1f1fb0  
    35073507  int j = pos;
    35083508  if ( (!strat->fromT)
    3509   && (1//(strat->syzComp==0)
    3510     //||(pGetComp(h)<=strat->syzComp)))
     3509  && ((strat->syzComp==0)
     3510    ||(pGetComp(h)<=strat->syzComp)
    35113511  ))
    35123512  {
  • libpolys/polys/ext_fields/algext.cc

    re9caeb r1f1fb0  
    414414  if (aDeg>bDeg) return TRUE;
    415415  if (aDeg<bDeg) return FALSE;
    416   return n_Greater(pGetCoeff((poly)a),pGetCoeff((poly)b),cf);
     416  return n_Greater(pGetCoeff((poly)a),pGetCoeff((poly)b),naCoeffs);
    417417}
    418418
  • libpolys/polys/ext_fields/transext.cc

    re9caeb r1f1fb0  
    608608  ntTest(a);
    609609  ntTest(b);
    610   number aNumCoeff = NULL; int aNumDeg = 0;
    611   number bNumCoeff = NULL; int bNumDeg = 0;
     610  number aNumCoeff = NULL; int aNumDeg = -1;
     611  number bNumCoeff = NULL; int bNumDeg = -1;
    612612  if (!IS0(a))
    613613  {
     
    616616    aNumCoeff = p_GetCoeff(NUM(fa), ntRing);
    617617  }
     618  else return !(ntGreaterZero (b,cf));
    618619  if (!IS0(b))
    619620  {
     
    622623    bNumCoeff = p_GetCoeff(NUM(fb), ntRing);
    623624  }
     625  else return ntGreaterZero(a,cf);
    624626  if (aNumDeg > bNumDeg) return TRUE;
    625627  if (aNumDeg < bNumDeg) return FALSE;
  • omalloc/omDefaultConfig.h

    r5b32a1 r1f1fb0  
    8989*/
    9090#ifndef OM_DEFAULT_PAGES_PER_REGION
    91 #define OM_DEFAULT_PAGES_PER_REGION 128
     91#define OM_DEFAULT_PAGES_PER_REGION 512
    9292#endif
    9393
Note: See TracChangeset for help on using the changeset viewer.