Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge Python scripting support from Vasiliy Chernov | Suren A. Chilingaryan | 2016-02-23 | 1 | -7/+17 |
|\ | |||||
| * | 1. Add cmake BUILD_PYTHON_MODULES option. | Vasilii Chernov | 2016-02-17 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Chernov | 2016-02-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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 constructor | Vasilii Chernov | 2016-02-12 | 1 | -5/+0 |
| | | | | | | | | | | 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 file | Vasilii Chernov | 2016-02-12 | 1 | -49/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Chernov | 2016-02-11 | 1 | -8/+11 |
| | | |||||
| * | Solve errors in serialing register_info function. Clear unused code | Vasilii Chernov | 2016-02-11 | 1 | -47/+0 |
| | | |||||
| * | Merge script and transform view. Add get register and properties info to ↵ | Vasilii Chernov | 2016-02-11 | 1 | -15/+29 |
| | | | | | | | | python wrap. | ||||
| * | Add write_register python wrap. Add no_set_check attribute to pcilib_view_t type | Vasilii Chernov | 2016-02-09 | 1 | -3/+13 |
| | | |||||
| * | Add support for setting register value to script transfrom. Add set_property ↵ | Vasilii Chernov | 2016-02-08 | 1 | -15/+45 |
| | | | | | | | | and get_property functions to pcipywrap. Cleaning cmakelists from unused dependencies | ||||
| * | Add support for python script properties. Correct pcilib python wrapping. ↵ | Vasilii Chernov | 2016-02-05 | 1 | -4/+61 |
|/ | | | | Update examples. Update cmakelists for work in shadow build mode. | ||||
* | Documentation update | Suren A. Chilingaryan | 2015-10-22 | 1 | -3/+3 |
| | |||||
* | Support multiple XML files per folder | Suren A. Chilingaryan | 2015-10-19 | 1 | -79/+151 |
| | |||||
* | Support computed (property-based) registers | Suren A. Chilingaryan | 2015-10-19 | 1 | -6/+32 |
| | |||||
* | Add optional description in the value name-aliases | Suren A. Chilingaryan | 2015-10-19 | 1 | -0/+2 |
| | |||||
* | Provide register listings in public API | Suren A. Chilingaryan | 2015-10-19 | 1 | -10/+8 |
| | |||||
* | Support reading/writting register views by id | Suren A. Chilingaryan | 2015-10-18 | 1 | -4/+24 |
| | |||||
* | Support XML properties | Suren A. Chilingaryan | 2015-10-18 | 1 | -2/+19 |
| | |||||
* | Support properties of arbitrary type | Suren A. Chilingaryan | 2015-10-18 | 1 | -2/+5 |
| | |||||
* | Implement enum view | Suren A. Chilingaryan | 2015-10-09 | 1 | -1/+2 |
| | |||||
* | Finalyze XML support and provide initial support for views (only ↵ | Suren A. Chilingaryan | 2015-09-24 | 1 | -248/+637 |
|\ | | | | | | | descriptions so far) | ||||
| * | not perfect but working | nicolas.zilio@hotmail.fr | 2015-09-15 | 1 | -1/+0 |
| | | |||||
| * | soka | nicolas.zilio@hotmail.fr | 2015-09-15 | 1 | -0/+1 |
| | | |||||
| * | correction of some fails to load correct | nicolas.zilio@hotmail.fr | 2015-09-15 | 1 | -10/+12 |
| | | |||||
| * | merge views and units, some name homogeneisation | nicolas.zilio@hotmail.fr | 2015-09-15 | 1 | -12/+12 |
| | | |||||
| * | addition of other remarks, cleaning in progress | nicolas.zilio@hotmail.fr | 2015-09-15 | 1 | -2/+1 |
| | | |||||
| * | first compil ok with addition of generic views | nicolas.zilio@hotmail.fr | 2015-09-15 | 1 | -87/+53 |
| | | |||||
| * | views with units functionnal (beware, as formulas are completely crap now, ↵ | nicolas.zilio@hotmail.fr | 2015-09-14 | 1 | -33/+64 |
| | | | | | | | | we could get segfault, for example if we want to write a negative value in register) | ||||
| * | views working fine, units in progress | nicolas.zilio@hotmail.fr | 2015-09-14 | 1 | -2/+69 |
| | | |||||
| * | more towards views | nicolas.zilio@hotmail.fr | 2015-09-11 | 1 | -31/+49 |
| | | |||||
| * | more towards views | zilio nicolas | 2015-09-10 | 1 | -6/+233 |
|/ | |||||
* | Initial integration of XML support | Suren A. Chilingaryan | 2015-09-10 | 1 | -458/+562 |
| | |||||
* | further modifications | zilio nicolas | 2015-09-07 | 1 | -95/+105 |
| | |||||
* | end of modifications | zilio nicolas | 2015-09-04 | 1 | -202/+184 |
| | |||||
* | qsort enough implementation, and corrected a little unwanted propagating ↵ | zilio nicolas | 2015-09-04 | 1 | -31/+17 |
| | | | | description | ||||
* | added cleanup | zilio nicolas | 2015-09-04 | 1 | -8/+10 |
| | |||||
* | almost finished regarding suren remarks | zilio nicolas | 2015-09-04 | 1 | -2/+5 |
| | |||||
* | almost finished regarding suren remarks | zilio nicolas | 2015-09-04 | 1 | -816/+356 |
| | |||||
* | some adressing regarding possible memory leaks | zilio nicolas | 2015-08-27 | 1 | -6/+22 |
| | |||||
* | some cleaning | zilio nicolas | 2015-08-27 | 1 | -36/+0 |
| | |||||
* | xml files get by model and remove of validation mode | zilio nicolas | 2015-08-27 | 1 | -100/+124 |
| | |||||
* | better public API and no more use of locals within pcilib_open | zilio nicolas | 2015-08-27 | 1 | -91/+73 |
| | |||||
* | put xml nodes pointers for banks and registers in pcilib_t, compil ok | zilio nicolas | 2015-08-27 | 1 | -97/+103 |
| | |||||
* | some modif | zilio nicolas | 2015-07-07 | 1 | -2/+6 |
| | |||||
* | modified version to include future functions | zilio nicolas | 2015-07-03 | 1 | -0/+361 |
| | |||||
* | registers and banks support in xml v1. pci -ll works fine, but got segfault ↵ | zilio nicolas | 2015-07-01 | 1 | -0/+672 |
on pci -r name and pci -r name gives 0 always. might be due to the order in pci.c ------> ask suren |