summaryrefslogtreecommitdiffstats
path: root/pywrap
Commit message (Collapse)AuthorAgeFilesLines
* Move scripts handing code from py.c to Python wrapVasilii Chernov2016-03-026-292/+169
|
* 1. Merge with http://ufo.kit.edu/ufo/log/csa/pcitool 359 revisionVasilii Chernov2016-03-022-553/+2
|\ | | | | | | 2. Move api_server to html server
| * Altenrative way to detect location where python modules should be installedSuren A. Chilingaryan2016-02-281-3/+3
| |
* | update documentationVasilii Chernov2016-03-011-1/+63
| |
* | 1. api-serer:Vasilii Chernov2016-03-014-61/+91
| | | | | | | | | | | | | | - change multiprosessing work mechanism - add new pywrap functions handling 2. html-server: - now works through api-server
* | 1. multithreading:Vasilii Chernov2016-03-015-211/+289
| | | | | | | | | | | | | | | | | | - Enable multiprocessing for api_server - Enable mutrithreading for html_server 2. py: - extract pcilib->py bases from pcilib->py functions - add api for interact directly with pcilib->py without pcilib context. 3. pcipywrap - Add scripts handling.
* | Merge with ufo.kit.edu/csa/pcitool 357 revisionVasilii Chernov2016-02-263-88/+91
|\|
| * Merge of further work on Python scripting from Vasiliy ChernovSuren A. Chilingaryan2016-02-2664-105/+13093
| |\
* | | 1. pywrap:Vasilii Chernov2016-02-263-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix get_registers_list crash with bank != NULL - set correct python version in cmake install step 2. html_server: - merge set and get value boxes into one box - add registers bank view mode - read registers/properties values in bank/branch view mode 3. xml/test - remove cmosis registers - add multithread safe property example
* | | Move html_server to separate folder. Update html server templates.Vasilii Chernov2016-02-2558-12563/+0
| |/ |/|
* | Set value description content to NULL in pcilib_xml_parse_value_nameVasilii Chernov2016-02-252-12/+17
| |
* | Merge with Suren branch. Fix memory leaks.Vasilii Chernov2016-02-244-257/+252
|\|
| * Stabilize merged codeSuren A. Chilingaryan2016-02-231-1/+1
| |
| * Merge Python scripting support from Vasiliy ChernovSuren A. Chilingaryan2016-02-234-250/+250
| |
* | Refresh web interfaceVasilii Chernov2016-02-24174-0/+9831
| |
* | 1. Http server add tree viewVasilii Chernov2016-02-24180-81/+2794
| | | | | | | | | | | | | | 2. Pcipywrap - add lock function wraps - add dma read wrap 3. Api server implement locking functionality
* | Add device html serverVasilii Chernov2016-02-226-1/+344
| |
* | Add istall step for pcipywrapVasilii Chernov2016-02-191-0/+5
| |
* | 1. Fix warnings in test_multithread appVasilii Chernov2016-02-192-27/+119
|/ | | | | 2. Fix memory leak in transform view 3. Enchance test_pcipywrap with command line parsing
* Add test to repository. Add GIL states to pcilib_set_value_from_pyobjectVasilii Chernov2016-02-172-0/+120
|
* Refactor pcipywrap to objectVasilii Chernov2016-02-174-251/+268
|
* 1. Add cmake BUILD_PYTHON_MODULES option.Vasilii Chernov2016-02-173-91/+53
| | | | | | | | | | | | | | | | | 2. Rename log options getting functions. 3. py: - pcilib_init_py() - extract pcilib_py_add_script_dir() - pcilib_py_init_script() - extract view-specialized code to pcilib_py_get_transform_script_properties() 3. pcilib_open(): - move pcilib_init_py() to previous position. - add extract pcilib_py_add_script_dir() 4. pcilib_script_s - change hash key. Now it is (const char*) and contains script file name with extension 5. pcipywrap: - Add pcipywrap.h to remove swig generated file complile warnings - remove -includeall swig flag to prevent crash in multi-thread scripts - change set python expetion mechanic
* 1. Add python thread initialization to pcilib_init_py()Vasilii Chernov2016-02-161-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | -Fix pcilib_script_run_func() work in multithread mode 2. pcilib_close() - Move free_py() code after free views to make view destructors work properly 3. Move script hash to pcilib_py_s 4. Move pcilib_get_logger() pcilib_get_logger_min_prio() and pcilib_get_logger_argument() declarations to error.h 5. Refactor pcilib_get_value_as_pyobject pcilib_set_value_from_pyobject to more unified form 6. Add more memory checks. Fix some string memory allocations. 7. Refactor pcilib_py_s member names. 8. Merge pcilib_script_read() and pcilib_script_write() to pcilib_script_run_func() 9. Update test_pywrap views scripts
* Add options parsing to server\n Rename get_property_info for get_property_listVasilii Chernov2016-02-153-45/+52
|
* Fix memory leaksVasilii Chernov2016-02-152-58/+84
| | | | | Add GIL states for int pcilib_script_read and pcilib_script_write functions Correct desctructor for create_pcilib_instance return object
* Add destructor for returning PyCObject in create_pcilib_instance functionVasilii Chernov2016-02-121-2/+11
|
* Move python module init code to transfom view constructorVasilii Chernov2016-02-123-33/+84
| | | | | Update python logger and python exeption messages Change serialization method in create_pcilib_instance set_pcilib functions
* 1. Cmakelists - move copy xml folder command to root fileVasilii Chernov2016-02-123-57/+233
| | | | | | | | | | | | | | | | | 2. - Move set python paths code to python module init funtction - pci.c move python module init block code after checking model to get paths before it runs. - Fix set python path code to work with PYTHONPATH - Update pci run script to work with PYTHONPATH - Fix python finalize code 3. Change pcilib_script_s interacting method. Now it stores in hash. 4. Change names of some fucntions to more unified ones 5. Remove old unused function pcilib_xml_create_script_or_transform_view 6. cli - disable reading register after set if write_verification flag is off 7. Remove uninformative error messages fro Python wrap. 8. - Server.py - add read/write property/register command handling - Add help message - Correcting paths
* Change no_set_check parameter name. Move Python wrap to separate directory.Vasilii Chernov2016-02-114-0/+769