Changeset 942


Ignore:
Timestamp:
Jun 14, 2019, 11:05:08 PM (5 years ago)
Author:
djay
Message:

Tag the 1.7.0 release.

Files:
15 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/branch-1.7

  • branches/branch-1.7/docs/kernel/what.rst

    r725 r942  
    8888C / C++      Shared Library      maps* M                   integer
    8989Java         Class File          `HashMap`_                integer
     90C#           Class File          `ZMaps`_                  integer
    9091Python       Module File         `Dictionary`_             integer
    9192PHP          Script File         `Array`_                  integer
     
    9394Ruby         Script File         `Hash`_                   integer
    9495Fortran      Shared Library      CHARACTER*(1024) M(10,30) integer
     96R            Script file         `R List`_                 integer
    9597JavaScript   Script file         `Object`_ or Array        Object/Array
    9698============ =================== ========================= ============
     
    101103.. _`Object`: http://www.json.org/
    102104.. _`Hash`: http://ruby-doc.org/core-2.2.0/Hash.html
     105.. _`ZMaps`: https://docs.microsoft.com/fr-fr/dotnet/api/system.collections.generic.dictionary-2?view=netframework-4.8
     106.. _`R List`: https://cran.r-project.org/doc/manuals/r-release/R-lang.html#List-objects
    103107
  • branches/branch-1.7/docs/services/zcfg-reference.rst

    r793 r942  
    223223       AllowedValues = -10,-8,-7,-5,-1
    224224       rangeMin = 0
    225        rangeMin = 100
     225       rangeMax = 100
    226226       rangeClosure = co
    227227     </Default>
    228228     <Supported>
    229229       rangeMin = 200
    230        rangeMin = 600
     230       rangeMax = 600
    231231       rangeClosure = co
    232232     </Supported>
    233233     <Supported>
    234234       rangeMin = 750
    235        rangeMin = 990
     235       rangeMax = 990
    236236       rangeClosure = co
    237237       rangeSpacing = 10
  • branches/branch-1.7/zoo-project/zoo-kernel/otbZooWatcher.cxx

    r560 r942  
    1616=========================================================================*/
    1717#include "otbZooWatcher.h"
     18#include "otbConfigure.h"
    1819#include "service_internal.h"
    1920
     
    5253::StartFilter()
    5354{
     55#if OTB_VERSION_MAJOR < 6
    5456  m_TimeProbe.Start();
     57#endif
    5558}
    5659
     
    5962::EndFilter()
    6063{
     64#if OTB_VERSION_MAJOR < 6
    6165  m_TimeProbe.Stop();
    6266  std::ostringstream elapsedTime;
     
    6872            << " seconds)"
    6973            << std::endl;
     74#endif
    7075}
  • branches/branch-1.7/zoo-project/zoo-kernel/request_parser.c

    r917 r942  
    10701070                                               buffersize);
    10711071                                }
    1072                               else if (cur5 != NULL)/*
    1073                                      && cur5->type == XML_CDATA_SECTION_NODE)*/{
    1074                                 xmlFree(mv);
    1075                                 if(cur5->content!=NULL){
    1076                                   mv=xmlStrdup(cur5->content);
    1077                                 }
     1072                              else if (cur5 != NULL){
     1073                                if(ltmp!= NULL && strstr(ltmp->value,"text/")!=NULL){
     1074                                  xmlChar *tmp = xmlNodeListGetRawString (doc,
     1075                                                                          cur4->xmlChildrenNode,
     1076                                                                          0);
     1077                                  addToMap (tmpmaps->content, "value",
     1078                                            (char *) tmp);
     1079                                  xmlFree (tmp);
     1080                                }else{
     1081                                  while(cur5!=NULL && cur5->type != XML_CDATA_SECTION_NODE)
     1082                                    cur5=cur5->next;
     1083                                  xmlFree(mv);
     1084                                  if(cur5!=NULL && cur5->content!=NULL){
     1085                                    mv=xmlStrdup(cur5->content);
     1086                                  }
     1087                                }
    10781088                              }
    10791089                            }
     
    18591869  if (r_inputs == NULL){
    18601870    if(mandatory>0){
    1861       char *replace=_("Mandatory parameter <%s> was not specified");
     1871      const char *replace=_("Mandatory parameter <%s> was not specified");
    18621872      char *message=(char*)malloc((strlen(replace)+strlen(toCheck)+1)*sizeof(char));
    18631873      sprintf(message,replace,toCheck);
     
    19081918    }
    19091919    if(hasValidValue<0){
    1910       char *replace=_("The value <%s> was not recognized, %s %s the only acceptable value.");
     1920      const char *replace=_("The value <%s> was not recognized, %s %s the only acceptable value.");
    19111921      nb=0;
    19121922      char *vvalues=NULL;
    1913       char* num=_("is");
     1923      const char* num=_("is");
    19141924      while(avalues[nb]!=NULL){
    19151925        char *tvalues;
  • branches/branch-1.7/zoo-project/zoo-kernel/service_internal_hpc.c

    r917 r942  
    6969          dupElements(cur)
    7070        };
    71         char *geoLink="wcs_link";
     71        const char *geoLink="wcs_link";
    7272        if(geo==2){
    7373          geoLink="wfs_link";
     
    213213      zooLock* lck;
    214214      if((lck=lockFile(*conf,argv[1]->value,'r'))==NULL){
    215         char* templateStr=_("Unable to lock the file for %s in read mode.");
     215        const char* templateStr=_("Unable to lock the file for %s in read mode.");
    216216        char *tmpMessage=(char*)malloc((strlen(templateStr)+strlen(argv[0]->value)+1)*sizeof(char));
    217217        sprintf(tmpMessage,templateStr,argv[0]->value);
     
    251251      if(unlockFile(*conf,zoo_file_locks[i])<1){
    252252        map* argv=getMapArray(queueMaps->content,"input",i);
    253         char* templateStr=_("Unable to unlock the file for %s after execution.");
     253        const char* templateStr=_("Unable to unlock the file for %s after execution.");
    254254        char *tmpMessage=(char*)malloc((strlen(templateStr)+strlen(argv->value)+1)*sizeof(char));
    255255        sprintf(tmpMessage,templateStr,argv->value);
  • branches/branch-1.7/zoo-project/zoo-kernel/service_internal_python.c

    r928 r942  
    355355#endif
    356356    char *pStrErrorMessage = PyString_AsString(pvalue);
    357   char *tmp0=_("Python module %s cannot be loaded. Message: %s\n");
     357  const char *tmp0=_("Python module %s cannot be loaded. Message: %s\n");
    358358 
    359359  PyObject *trace=PyObject_Str(pvalue);
     
    393393      if(pbt!=NULL)
    394394        free(pbt);
    395       char* format=_("%s\nUnable to run your python process properly. Please check the following messages : %s");
     395      const char* format=_("%s\nUnable to run your python process properly. Please check the following messages : %s");
    396396      pbt=(char*)malloc((strlen(format)+strlen(tpbt)+strlen(PyString_AsString(trace))+1)*sizeof(char));
    397397      sprintf(pbt,format,tpbt,PyString_AsString(trace));
     
    400400      if(pbt!=NULL)
    401401        free(pbt);
    402       char* format=_("%s \n Unable to run your python process properly. Unable to provide any further information.");
     402      const char* format=_("%s \n Unable to run your python process properly. Unable to provide any further information.");
    403403      pbt=(char*)malloc((strlen(format)+strlen(tpbt)+strlen(PyString_AsString(trace))+1)*sizeof(char));
    404404      sprintf(pbt,format,tpbt);
  • branches/branch-1.7/zoo-project/zoo-kernel/sshapi.c

    r917 r942  
    730730        if((lck=lockFile(*conf,argv[1]->value,'w'))!=NULL){/**/
    731731          if(ssh_copy(*conf,argv[1]->value,argv[2]->value,ssh_get_cnt(*conf))!=true){
    732             char* templateStr=_("Unable to copy over SSH the file requested for setting the value of %s.");
     732            const char* templateStr=_("Unable to copy over SSH the file requested for setting the value of %s.");
    733733            char *tmpMessage=(char*)malloc((strlen(templateStr)+strlen(argv[0]->value)+1)*sizeof(char));
    734734            sprintf(tmpMessage,templateStr,argv[0]->value);
  • tags/rel-1.7.0

  • tags/rel-1.7.0/docs/kernel/what.rst

    r725 r942  
    8888C / C++      Shared Library      maps* M                   integer
    8989Java         Class File          `HashMap`_                integer
     90C#           Class File          `ZMaps`_                  integer
    9091Python       Module File         `Dictionary`_             integer
    9192PHP          Script File         `Array`_                  integer
     
    9394Ruby         Script File         `Hash`_                   integer
    9495Fortran      Shared Library      CHARACTER*(1024) M(10,30) integer
     96R            Script file         `R List`_                 integer
    9597JavaScript   Script file         `Object`_ or Array        Object/Array
    9698============ =================== ========================= ============
     
    101103.. _`Object`: http://www.json.org/
    102104.. _`Hash`: http://ruby-doc.org/core-2.2.0/Hash.html
     105.. _`ZMaps`: https://docs.microsoft.com/fr-fr/dotnet/api/system.collections.generic.dictionary-2?view=netframework-4.8
     106.. _`R List`: https://cran.r-project.org/doc/manuals/r-release/R-lang.html#List-objects
    103107
  • tags/rel-1.7.0/docs/services/zcfg-reference.rst

    r793 r942  
    223223       AllowedValues = -10,-8,-7,-5,-1
    224224       rangeMin = 0
    225        rangeMin = 100
     225       rangeMax = 100
    226226       rangeClosure = co
    227227     </Default>
    228228     <Supported>
    229229       rangeMin = 200
    230        rangeMin = 600
     230       rangeMax = 600
    231231       rangeClosure = co
    232232     </Supported>
    233233     <Supported>
    234234       rangeMin = 750
    235        rangeMin = 990
     235       rangeMax = 990
    236236       rangeClosure = co
    237237       rangeSpacing = 10
  • tags/rel-1.7.0/zoo-project/zoo-kernel/otbZooWatcher.cxx

    r560 r942  
    1616=========================================================================*/
    1717#include "otbZooWatcher.h"
     18#include "otbConfigure.h"
    1819#include "service_internal.h"
    1920
     
    5253::StartFilter()
    5354{
     55#if OTB_VERSION_MAJOR < 6
    5456  m_TimeProbe.Start();
     57#endif
    5558}
    5659
     
    5962::EndFilter()
    6063{
     64#if OTB_VERSION_MAJOR < 6
    6165  m_TimeProbe.Stop();
    6266  std::ostringstream elapsedTime;
     
    6872            << " seconds)"
    6973            << std::endl;
     74#endif
    7075}
  • tags/rel-1.7.0/zoo-project/zoo-kernel/request_parser.c

    r917 r942  
    10701070                                               buffersize);
    10711071                                }
    1072                               else if (cur5 != NULL)/*
    1073                                      && cur5->type == XML_CDATA_SECTION_NODE)*/{
    1074                                 xmlFree(mv);
    1075                                 if(cur5->content!=NULL){
    1076                                   mv=xmlStrdup(cur5->content);
    1077                                 }
     1072                              else if (cur5 != NULL){
     1073                                if(ltmp!= NULL && strstr(ltmp->value,"text/")!=NULL){
     1074                                  xmlChar *tmp = xmlNodeListGetRawString (doc,
     1075                                                                          cur4->xmlChildrenNode,
     1076                                                                          0);
     1077                                  addToMap (tmpmaps->content, "value",
     1078                                            (char *) tmp);
     1079                                  xmlFree (tmp);
     1080                                }else{
     1081                                  while(cur5!=NULL && cur5->type != XML_CDATA_SECTION_NODE)
     1082                                    cur5=cur5->next;
     1083                                  xmlFree(mv);
     1084                                  if(cur5!=NULL && cur5->content!=NULL){
     1085                                    mv=xmlStrdup(cur5->content);
     1086                                  }
     1087                                }
    10781088                              }
    10791089                            }
     
    18591869  if (r_inputs == NULL){
    18601870    if(mandatory>0){
    1861       char *replace=_("Mandatory parameter <%s> was not specified");
     1871      const char *replace=_("Mandatory parameter <%s> was not specified");
    18621872      char *message=(char*)malloc((strlen(replace)+strlen(toCheck)+1)*sizeof(char));
    18631873      sprintf(message,replace,toCheck);
     
    19081918    }
    19091919    if(hasValidValue<0){
    1910       char *replace=_("The value <%s> was not recognized, %s %s the only acceptable value.");
     1920      const char *replace=_("The value <%s> was not recognized, %s %s the only acceptable value.");
    19111921      nb=0;
    19121922      char *vvalues=NULL;
    1913       char* num=_("is");
     1923      const char* num=_("is");
    19141924      while(avalues[nb]!=NULL){
    19151925        char *tvalues;
  • tags/rel-1.7.0/zoo-project/zoo-kernel/service_internal_hpc.c

    r917 r942  
    6969          dupElements(cur)
    7070        };
    71         char *geoLink="wcs_link";
     71        const char *geoLink="wcs_link";
    7272        if(geo==2){
    7373          geoLink="wfs_link";
     
    213213      zooLock* lck;
    214214      if((lck=lockFile(*conf,argv[1]->value,'r'))==NULL){
    215         char* templateStr=_("Unable to lock the file for %s in read mode.");
     215        const char* templateStr=_("Unable to lock the file for %s in read mode.");
    216216        char *tmpMessage=(char*)malloc((strlen(templateStr)+strlen(argv[0]->value)+1)*sizeof(char));
    217217        sprintf(tmpMessage,templateStr,argv[0]->value);
     
    251251      if(unlockFile(*conf,zoo_file_locks[i])<1){
    252252        map* argv=getMapArray(queueMaps->content,"input",i);
    253         char* templateStr=_("Unable to unlock the file for %s after execution.");
     253        const char* templateStr=_("Unable to unlock the file for %s after execution.");
    254254        char *tmpMessage=(char*)malloc((strlen(templateStr)+strlen(argv->value)+1)*sizeof(char));
    255255        sprintf(tmpMessage,templateStr,argv->value);
  • tags/rel-1.7.0/zoo-project/zoo-kernel/service_internal_python.c

    r928 r942  
    355355#endif
    356356    char *pStrErrorMessage = PyString_AsString(pvalue);
    357   char *tmp0=_("Python module %s cannot be loaded. Message: %s\n");
     357  const char *tmp0=_("Python module %s cannot be loaded. Message: %s\n");
    358358 
    359359  PyObject *trace=PyObject_Str(pvalue);
     
    393393      if(pbt!=NULL)
    394394        free(pbt);
    395       char* format=_("%s\nUnable to run your python process properly. Please check the following messages : %s");
     395      const char* format=_("%s\nUnable to run your python process properly. Please check the following messages : %s");
    396396      pbt=(char*)malloc((strlen(format)+strlen(tpbt)+strlen(PyString_AsString(trace))+1)*sizeof(char));
    397397      sprintf(pbt,format,tpbt,PyString_AsString(trace));
     
    400400      if(pbt!=NULL)
    401401        free(pbt);
    402       char* format=_("%s \n Unable to run your python process properly. Unable to provide any further information.");
     402      const char* format=_("%s \n Unable to run your python process properly. Unable to provide any further information.");
    403403      pbt=(char*)malloc((strlen(format)+strlen(tpbt)+strlen(PyString_AsString(trace))+1)*sizeof(char));
    404404      sprintf(pbt,format,tpbt);
  • tags/rel-1.7.0/zoo-project/zoo-kernel/sshapi.c

    r917 r942  
    730730        if((lck=lockFile(*conf,argv[1]->value,'w'))!=NULL){/**/
    731731          if(ssh_copy(*conf,argv[1]->value,argv[2]->value,ssh_get_cnt(*conf))!=true){
    732             char* templateStr=_("Unable to copy over SSH the file requested for setting the value of %s.");
     732            const char* templateStr=_("Unable to copy over SSH the file requested for setting the value of %s.");
    733733            char *tmpMessage=(char*)malloc((strlen(templateStr)+strlen(argv[0]->value)+1)*sizeof(char));
    734734            sprintf(tmpMessage,templateStr,argv[0]->value);
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png