Changeset 781
- Timestamp:
- Jun 27, 2016, 8:58:38 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/thirds/cgic206/cgic.html
r348 r781 1630 1630 </strong><br><dd> 1631 1631 cgiHeaderLocation() should be called if the programmer wishes to 1632 redirect the user to a different URL. No fu ther output1632 redirect the user to a different URL. No further output 1633 1633 is needed in this case. 1634 1634 <p> -
trunk/thirds/dirent-win32/dirent.h
r476 r781 287 287 } 288 288 if (FindNextFileA (dirp->search_handle, &dirp->find_data) == FALSE) { 289 /* the very last entry has been processed or an error occur ed */289 /* the very last entry has been processed or an error occurred */ 290 290 FindClose (dirp->search_handle); 291 291 dirp->search_handle = INVALID_HANDLE_VALUE; -
trunk/zoo-project/HISTORY.txt
r766 r781 18 18 * Add utils/registry service 19 19 * Initial support for WPS 2.0.0 including the Dismiss extension 20 * Fix concurrency access to status information s21 * Use simple file rather than shared memory for storing status information s22 * Add support for db backend to store status information s20 * Fix concurrency access to status information 21 * Use simple file rather than shared memory for storing status information 22 * Add support for db backend to store status information 23 23 * Add the lib_zoo_service shared library to be linked against C services 24 24 * Add ZOO-API for the PHP language (with documentation) … … 138 138 * add !BoundingBoxData support 139 139 * Python support is now optional as other languages 140 * add lenv section before running the service to store information sruntime specific141 * add COOKIE support and {{{senv}}} section to store information ssession specific140 * add lenv section before running the service to store information runtime specific 141 * add COOKIE support and {{{senv}}} section to store information session specific 142 142 * add {{{USE_GDB}}} compilation flag to remove signal handling for debuging purpose 143 143 * enhance base64 support when included in and XML POST request -
trunk/zoo-project/zoo-client/lib/js/wps-client/wps-payload.js
r719 r781 33 33 * In the ZOO-Client API, the Hogan.js templates have to be compiled before 34 34 * you can use them from you application. Please refer to the ZOO-Client 35 * installation documentation for more information s.35 * installation documentation for more information. 36 36 * 37 37 * @module wpsPayload -
trunk/zoo-project/zoo-kernel/caching.c
r738 r781 38 38 * @param url the char* 39 39 * @return a char* representing the md5 of the url 40 * @warning make sure to free res sources returned by this function40 * @warning make sure to free resources returned by this function 41 41 */ 42 42 char* getMd5(char* url){ … … 124 124 * @param request the url 125 125 * @return the full name of the cached file if any, NULL in other case 126 * @warning make sure to free res sources returned by this function (if not NULL)126 * @warning make sure to free resources returned by this function (if not NULL) 127 127 */ 128 128 char* isInCache(maps* conf,char* request){ -
trunk/zoo-project/zoo-kernel/locale/po/fr_FR.po
r751 r781 124 124 "background task. Please access the URL in the statusLocation attribute " 125 125 "provided in this document to get the up-to-date status and results." 126 msgstr "Le service \"%s\" a été accepté par le ZOO-Kernel et est en cours d'exécution en tâche de fond. Merci d'utiliser le lien URL fournis dans l'attribut statusLocation de la racine de ce document pour obtenir des information ssur l'état d'éxcution du service."126 msgstr "Le service \"%s\" a été accepté par le ZOO-Kernel et est en cours d'exécution en tâche de fond. Merci d'utiliser le lien URL fournis dans l'attribut statusLocation de la racine de ce document pour obtenir des information sur l'état d'éxcution du service." 127 127 128 128 #: response_print.c:1661 … … 243 243 msgid "" 244 244 "%s \n" 245 " Unable to run your python process properly. Unable to provide any fu ther informations."245 " Unable to run your python process properly. Unable to provide any further information." 246 246 msgstr "%s\nImpossible de charger votre service python correctement. Aucune information supplémentaire." 247 247 … … 253 253 #: zoo_service_loader.c:527 254 254 #, c-format 255 msgid "Error occur ed while running the %s function: %s"255 msgid "Error occurred while running the %s function: %s" 256 256 msgstr "Une erreur est survenue pendant l'execution de la %s fonction: %s" 257 257 -
trunk/zoo-project/zoo-kernel/locale/po/it_IT.po
r744 r781 242 242 msgid "" 243 243 "%s \n" 244 " Unable to run your python process properly. Unable to provide any fu ther informations."244 " Unable to run your python process properly. Unable to provide any further information." 245 245 msgstr "%s\nImpossibile eseguire il processo di Python correttamente. Impossibile fornire ulteriori informazioni." 246 246 … … 252 252 #: zoo_service_loader.c:527 253 253 #, c-format 254 msgid "Error occur ed while running the %s function: %s"254 msgid "Error occurred while running the %s function: %s" 255 255 msgstr "Un errore è avvenuto mentre si stava eseguendo la funzione %s: %s" 256 256 -
trunk/zoo-project/zoo-kernel/locale/po/ja_JP.po
r759 r781 243 243 msgid "" 244 244 "%s \n" 245 " Unable to run your python process properly. Unable to provide any fu ther informations."245 " Unable to run your python process properly. Unable to provide any further information." 246 246 msgstr "%s\nユーザーPythonプロセスを正しく実行できません。より詳しい情報は提供されていません。" 247 247 … … 253 253 #: zoo_service_loader.c:527 254 254 #, c-format 255 msgid "Error occur ed while running the %s function: %s"255 msgid "Error occurred while running the %s function: %s" 256 256 msgstr "%s ファンクションを実行中にエラーが発生しました : %s" 257 257 -
trunk/zoo-project/zoo-kernel/locale/po/messages.po
r725 r781 266 266 msgid "" 267 267 "%s \n" 268 " Unable to run your python process properly. Unable to provide any fu ther "269 "information s."268 " Unable to run your python process properly. Unable to provide any further " 269 "information." 270 270 msgstr "" 271 271 "%s \n" 272 " Unable to run your python process properly. Unable to provide any fu ther "273 "information s."272 " Unable to run your python process properly. Unable to provide any further " 273 "information." 274 274 275 275 #: zoo_service_loader.c:352 … … 280 280 #: zoo_service_loader.c:527 281 281 #, c-format 282 msgid "Error occur ed while running the %s function: %s"283 msgstr "Error occur ed while running the %s function: %s"282 msgid "Error occurred while running the %s function: %s" 283 msgstr "Error occurred while running the %s function: %s" 284 284 285 285 #: zoo_service_loader.c:578 -
trunk/zoo-project/zoo-kernel/main_conf_read.y
r621 r781 131 131 132 132 /** 133 * Print on stderr the message and the line number of the error which occur ed.133 * Print on stderr the message and the line number of the error which occurred. 134 134 * 135 135 * @param s the error message -
trunk/zoo-project/zoo-kernel/request_parser.c
r756 r781 324 324 { 325 325 free(cursor_input); 326 return errorException (*main_conf, "Unable to fetch any res source", "InternalError", NULL);326 return errorException (*main_conf, "Unable to fetch any resource", "InternalError", NULL); 327 327 } 328 328 } … … 1319 1319 1320 1320 /** 1321 * Parse XML request and store information sin maps.1321 * Parse XML request and store information in maps. 1322 1322 * 1323 1323 * @param main_conf the conf maps containing the main.cfg settings … … 1426 1426 1427 1427 /** 1428 * Parse request and store information sin maps.1428 * Parse request and store information in maps. 1429 1429 * 1430 1430 * @param main_conf the conf maps containing the main.cfg settings -
trunk/zoo-project/zoo-kernel/response_print.c
r756 r781 89 89 * Print the HTTP headers based on a map. 90 90 * 91 * @param m the map containing the headers information s91 * @param m the map containing the headers information 92 92 */ 93 93 void printHeaders(maps* m){ … … 889 889 890 890 /** 891 * Generate the required XML tree for the detailled metadata information sof891 * Generate the required XML tree for the detailled metadata information of 892 892 * inputs or outputs 893 893 * 894 894 * @param in 1 in case of inputs, 0 for outputs 895 * @param elem the elements structure containing the metadata information s895 * @param elem the elements structure containing the metadata information 896 896 * @param type the name ("Input" or "Output") of the XML node to create 897 897 * @param ns_ows the ows XML namespace … … 2129 2129 2130 2130 /** 2131 * Create XML node with basic ows metadata information s(Identifier,Title,Abstract)2131 * Create XML node with basic ows metadata information (Identifier,Title,Abstract) 2132 2132 * 2133 2133 * @param root the root XML node to add the description 2134 2134 * @param ns_ows the ows XML namespace 2135 2135 * @param identifier the identifier to use 2136 * @param amap the map containing the ows metadata information s2136 * @param amap the map containing the ows metadata information 2137 2137 */ 2138 2138 void printDescription(xmlNodePtr root,xmlNsPtr ns_ows,const char* identifier,map* amap,int vid=0){ … … 2332 2332 * Generate the output response (RawDataOutput or ResponseDocument) 2333 2333 * 2334 * @param s the service structure containing the metadata information s2334 * @param s the service structure containing the metadata information 2335 2335 * @param request_inputs the inputs provided to the service for execution 2336 2336 * @param request_outputs the outputs updated by the service execution … … 2671 2671 * Exemple : 189000,834000,285000,962000,urn:ogc:def:crs:OGC:1.3:CRS84 2672 2672 * 2673 * A map to store boundingbox information sshould contain:2673 * A map to store boundingbox information should contain: 2674 2674 * - lowerCorner : double,double (minimum within this bounding box) 2675 2675 * - upperCorner : double,double (maximum within this bounding box) -
trunk/zoo-project/zoo-kernel/server_internal.c
r756 r781 56 56 * 57 57 * @return a new char* containing the UUID, make sure to free the returned 58 * res source once used.58 * resource once used. 59 59 */ 60 60 char *get_uuid(){ … … 365 365 size_t ret=fwrite(val,sizeof(char),length,of); 366 366 if(ret<length){ 367 fprintf(stderr,"Write error occur ed!\n");367 fprintf(stderr,"Write error occurred!\n"); 368 368 fclose(of); 369 369 return -1; -
trunk/zoo-project/zoo-kernel/service.h
r767 r781 205 205 * Not named linked list 206 206 * 207 * Used to store information sabout formats, such as mimeType, encoding ...207 * Used to store information about formats, such as mimeType, encoding ... 208 208 */ 209 209 typedef struct iotype{ … … 215 215 * Metadata information about input or output. 216 216 * 217 * The elements are used to store metadata information sdefined in the ZCFG.217 * The elements are used to store metadata information defined in the ZCFG. 218 218 */ 219 219 typedef struct elements{ … … 229 229 230 230 /** 231 * Metadata information sabout a full Service.231 * Metadata information about a full Service. 232 232 */ 233 233 typedef struct service{ -
trunk/zoo-project/zoo-kernel/service_conf.y
r676 r781 111 111 112 112 miscetoile 113 : miscetoile PIERROR { srerror("processing instruction begin ing with <?xml ?> impossible\n");}113 : miscetoile PIERROR { srerror("processing instruction beginning with <?xml ?> impossible\n");} 114 114 | miscetoile PI {} 115 115 | {} … … 753 753 754 754 /** 755 * Print on stderr the message and the line number of the error which occur ed.755 * Print on stderr the message and the line number of the error which occurred. 756 756 * 757 757 * @param s the error message -
trunk/zoo-project/zoo-kernel/service_internal.c
r738 r781 683 683 * @param conf the maps containing the settings of the main.cfg file 684 684 * @param dataSource the datasource name to read 685 * @warning make sure to free res sources returned by this function685 * @warning make sure to free resources returned by this function 686 686 */ 687 687 char *readVSIFile(maps* conf,const char* dataSource){ -
trunk/zoo-project/zoo-kernel/service_internal_java.c
r776 r781 308 308 FILE* new_stdout=fopen(tmps,"wb+"); 309 309 if(new_stdout==NULL){ 310 map* err=createMap("text","Unable to run your service, no debug information scan be provided (please verify privileges on tmpPath)");310 map* err=createMap("text","Unable to run your service, no debug information can be provided (please verify privileges on tmpPath)"); 311 311 addToMap(err,"code","InternalError"); 312 312 printExceptionReportResponse(main_conf,err); … … 395 395 * @param scHashMap_constructor the pointer to the hashMap constructor method 396 396 * @return a created JAVA HashMap containing the converted maps 397 * @warning make sure to free res sources returned by this function397 * @warning make sure to free resources returned by this function 398 398 */ 399 399 jobject HashMap_FromMaps(JNIEnv *env,maps* t,jclass scHashMapClass,jclass scHashMap_class,jmethodID scHashMap_constructor){ … … 539 539 * @param scHashMapClass the hashMap class 540 540 * @return a created maps containing the converted HashMap 541 * @warning make sure to free res sources returned by this function541 * @warning make sure to free resources returned by this function 542 542 */ 543 543 maps* mapsFromHashMap(JNIEnv *env,jobject t,jclass scHashMapClass){ -
trunk/zoo-project/zoo-kernel/service_internal_js.c
r752 r781 386 386 * @param global the global JavaScript object (not used) 387 387 * @param filename the file name to load 388 * @return a JavaScript Object on success, NULL if an errro occur ed388 * @return a JavaScript Object on success, NULL if an errro occurred 389 389 */ 390 390 JSObject * loadZooApiFile(JSContext *cx,JSObject *global, char* filename){ … … 776 776 * @param arg the JavaScript value 777 777 * @return a new char* 778 * @warning be sure to free the res sources returned by this function778 * @warning be sure to free the resources returned by this function 779 779 */ 780 780 char* JSValToChar(JSContext* context, jsval* arg) { -
trunk/zoo-project/zoo-kernel/service_internal_ms.c
r776 r781 834 834 * processing directive 835 835 */ 836 char nBands[ 2];836 char nBands[3]; 837 837 int nBandsI=GDALGetRasterCount( hDataset ); 838 838 sprintf(nBands,"%d",GDALGetRasterCount( hDataset )); … … 848 848 * Name available Bands 849 849 */ 850 char lBands[ 6];850 char lBands[7]; 851 851 char *nameBands=NULL; 852 852 for( iBand = 0; iBand < nBandsI; iBand++ ){ … … 867 867 868 868 /** 869 * Loops over metadata information s to setup specific informations869 * Loops over metadata information to setup specific information 870 870 */ 871 871 for( iBand = 0; iBand < nBandsI; iBand++ ){ -
trunk/zoo-project/zoo-kernel/service_internal_python.c
r738 r781 359 359 free(pbt); 360 360 pbt=(char*)malloc((90+strlen(tpbt)+strlen(PyString_AsString(trace))+1)*sizeof(char)); 361 sprintf(pbt,_("%s \n Unable to run your python process properly. Unable to provide any fu ther informations."),tpbt);361 sprintf(pbt,_("%s \n Unable to run your python process properly. Unable to provide any further information."),tpbt); 362 362 } 363 363 free(tpbt); … … 379 379 * @return a new PyDictObject containing the converted maps 380 380 * @see PyDict_FromMap 381 * @warning make sure to free res sources returned by this function381 * @warning make sure to free resources returned by this function 382 382 */ 383 383 PyDictObject* PyDict_FromMaps(maps* t){ … … 402 402 * @param t the map to convert 403 403 * @return a new PyDictObject containing the converted maps 404 * @warning make sure to free res sources returned by this function404 * @warning make sure to free resources returned by this function 405 405 */ 406 406 PyDictObject* PyDict_FromMap(map* t){ … … 519 519 * @param t the PyDictObject to convert 520 520 * @return a new maps containing the converted PyDictObject 521 * @warning make sure to free res sources returned by this function521 * @warning make sure to free resources returned by this function 522 522 */ 523 523 maps* mapsFromPyDict(PyDictObject* t){ … … 606 606 * @param t the PyDictObject to convert 607 607 * @return a new map containing the converted PyDictObject 608 * @warning make sure to free res sources returned by this function608 * @warning make sure to free resources returned by this function 609 609 */ 610 610 map* mapFromPyDict(PyDictObject* t){ -
trunk/zoo-project/zoo-kernel/service_yaml.c
r745 r781 43 43 * @param service the service structure to fill 44 44 * @param name the service name 45 * @return 1 on success, -1 if error occur ed45 * @return 1 on success, -1 if error occurred 46 46 */ 47 47 int getServiceFromYAML(maps* conf, char* file,service** service,char *name){ -
trunk/zoo-project/zoo-kernel/sql/schema.sql
r654 r781 35 35 -------------------------------------------------------------------------------- 36 36 -- Services table 37 -- Used to store information sabout services running asynchronously37 -- Used to store information about services running asynchronously 38 38 create table services ( 39 39 osid TEXT unique, -
trunk/zoo-project/zoo-kernel/ulinet.c
r621 r781 218 218 219 219 /** 220 * Close a HINTERNET connection and free allocated res sources220 * Close a HINTERNET connection and free allocated resources 221 221 * 222 222 * @param handle0 the HINTERNET connection to close … … 444 444 445 445 /** 446 * Use basic authentication for accessing a res source446 * Use basic authentication for accessing a resource 447 447 * 448 448 * @param hInternet the _HINTERNET structure -
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r773 r781 558 558 sprintf (tmpMsg, 559 559 _ 560 ("Error occur ed while running the %s function: %s"),560 ("Error occurred while running the %s function: %s"), 561 561 r_inputs->value, errstr); 562 562 errorException (m, tmpMsg, "InternalError", NULL); -
trunk/zoo-project/zoo-services/gdal/ndvi/cgi-env/ndvi.py
r468 r781 40 40 dataset.RasterXSize, dataset.RasterYSize,1, \ 41 41 gdal.GDT_Float32) 42 # Set spatial information sof the new image.42 # Set spatial information of the new image. 43 43 if geoTransform: 44 44 newDataset.SetGeoTransform(geoTransform)
Note: See TracChangeset
for help on using the changeset viewer.