summaryrefslogtreecommitdiffstats
path: root/views
Commit message (Collapse)AuthorAgeFilesLines
* Stabilize merged codeSuren A. Chilingaryan2016-02-231-2/+2
|
* Merge Python scripting support from Vasiliy ChernovSuren A. Chilingaryan2016-02-232-5/+50
|\
| * 1. Add cmake BUILD_PYTHON_MODULES option.Vasilii Chernov2016-02-172-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+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
| * Move python module init code to transfom view constructorVasilii Chernov2016-02-121-1/+30
| | | | | | | | | | 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-122-31/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Solve errors in serialing register_info function. Clear unused codeVasilii Chernov2016-02-111-1/+1
| |
| * Merge script and transform view. Add get register and properties info to ↵Vasilii Chernov2016-02-115-240/+42
| | | | | | | | python wrap.
| * Add support for setting register value to script transfrom. Add set_property ↵Vasilii Chernov2016-02-081-21/+70
| | | | | | | | and get_property functions to pcipywrap. Cleaning cmakelists from unused dependencies
| * Add support for python script properties. Correct pcilib python wrapping. ↵Vasilii Chernov2016-02-053-2/+177
|/ | | | Update examples. Update cmakelists for work in shadow build mode.
* Provide register listings in public APISuren A. Chilingaryan2015-10-191-5/+1
|
* Support properties of arbitrary typeSuren A. Chilingaryan2015-10-184-3/+87
|
* Support writting register viewsSuren A. Chilingaryan2015-10-131-1/+1
|
* Support transform viewsSuren A. Chilingaryan2015-10-131-51/+23
|
* Implement enum viewSuren A. Chilingaryan2015-10-092-26/+46
|
* Introduce hashesSuren A. Chilingaryan2015-10-092-3/+3
|
* Base functions for viewsSuren A. Chilingaryan2015-10-083-4/+6
|
* Finalyze XML support and provide initial support for views (only ↵Suren A. Chilingaryan2015-09-245-0/+169
descriptions so far)