Branch: refs/heads/master
Home: https://github.com/yast/yast-python-bindings
Commit: 8e7bcd25c9b611d63257925c038a3f6a496e74b2
https://github.com/yast/yast-python-bindings/commit/8e7bcd25c9b611d63257925c...
Author: David Mulder
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
A src/Y2CCPython.cc
A src/Y2CCPython.h
A src/Y2PythonComponent.cc
A src/Y2PythonComponent.h
A src/YCPDeclarations.cc
A src/YCPDeclarations.h
A src/YCPDeclarations.py
A src/YPython.cc
A src/YPython.h
A src/YPythonNamespace.cc
A src/YPythonNamespace.h
M src/yast.cpp
M src/yast.h
M src/yast.py.in
Log Message:
-----------
Forward port Y2CCPython, Y2PythonComponent, YCPDeclarations, YPython, YPythonNamespace
These components allow python to be imported from ruby/perl bindings
Commit: 7232f7d90fe80410d47163dba9e373344e7dfebd
https://github.com/yast/yast-python-bindings/commit/7232f7d90fe80410d47163db...
Author: David Mulder
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/Makefile.am
Log Message:
-----------
Build everything into py2lang, then symlink _ycp
We need all the bindings available in py2lang in
order for python import from ruby/perl to work.
Commit: 5c5e15c48b488e3267282e9910a96a3c652134f2
https://github.com/yast/yast-python-bindings/commit/5c5e15c48b488e3267282e99...
Author: David Mulder
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPython.h
M src/yast-core.i
M src/ytypes.i
Log Message:
-----------
Use fromPythonFunToReference() instead of hacking a YCode() obj
Commit: 1514120e0cc5da5754c18d96017feddff4c6f24e
https://github.com/yast/yast-python-bindings/commit/1514120e0cc5da5754c18d96...
Author: David Mulder
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YCPDeclarations.cc
M src/YPython.cc
M src/YPythonNamespace.cc
A src/compat.h
Log Message:
-----------
Add py3 compatibility layer
Commit: 0406a19270a70fa3f54d7c44873774ecf190d9b9
https://github.com/yast/yast-python-bindings/commit/0406a19270a70fa3f54d7c44...
Author: David Mulder
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YCPDeclarations.cc
Log Message:
-----------
Proper handeling of py3 return and param types for Declarations
Commit: d218225e01d23ca641ec7c18acbd1e2b1057de54
https://github.com/yast/yast-python-bindings/commit/d218225e01d23ca641ec7c18...
Author: David Mulder
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPython.cc
Log Message:
-----------
Directly import python source from text
Import from file and path doesn't work in py3
Commit: f3bb975a075e7bf849e8d3f0dbf93c07c41c0455
https://github.com/yast/yast-python-bindings/commit/f3bb975a075e7bf849e8d3f0...
Author: David Mulder
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M package/yast2-python-bindings.changes
M package/yast2-python-bindings.spec
Log Message:
-----------
Changelog entry and version bump
Commit: 9ed538eead290c009362d5071c163f13ad722a38
https://github.com/yast/yast-python-bindings/commit/9ed538eead290c009362d507...
Author: David Mulder
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M package/yast2-python-bindings.spec
Log Message:
-----------
Handle new packaging in spec file
Commit: 76bbe2b4515305d8b3f7ae0c77d7e7b487100e1e
https://github.com/yast/yast-python-bindings/commit/76bbe2b4515305d8b3f7ae0c...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPython.cc
Log Message:
-----------
If you modify os.path on the fly, the module loads
Commit: c9e8c33dfacec9b294fa78e964faac20e6886ea1
https://github.com/yast/yast-python-bindings/commit/c9e8c33dfacec9b294fa78e9...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/compat.h
Log Message:
-----------
extend the py2/py3 compat layer a bit
Commit: 971dd74c8bf4630e02cf92ff7f325813a9355c95
https://github.com/yast/yast-python-bindings/commit/971dd74c8bf4630e02cf92ff...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YCPDeclarations.cc
M src/YPythonNamespace.cc
Log Message:
-----------
Clean up Py2/Py3 code (lose the ifdef(s))
Commit: 56b994012a869e499c354526618e26089ec902ab
https://github.com/yast/yast-python-bindings/commit/56b994012a869e499c354526...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPython.cc
M src/YPython.h
Log Message:
-----------
reorganise YPthon class a litte so code can be share with ClientComponent
Commit: eb1ca2eb3d81f863507fcfcaa16e85c005278092
https://github.com/yast/yast-python-bindings/commit/eb1ca2eb3d81f863507fcfca...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPython.cc
Log Message:
-----------
Fix strange bug, feel there is something else going on here
- int ret = PyDict_SetItem(YPython::_pMainDicts, pModuleName, PyModule_GetDict(pMain));
+ int ret = PyDict_SetItemString(YPython::_pMainDicts, module_name.c_str(), PyModule_GetDict(pMain));
Had to change the Dict access above because it didn't work from py3 when
getting called from ruby. OTOH it worked fined from python (where the python
client was calling import_module "aPythonModule"
Commit: a71f0876557e54b3487b1161dbb17baaecdd094d
https://github.com/yast/yast-python-bindings/commit/a71f0876557e54b3487b1161...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPython.cc
M src/YPython.h
M src/YPythonNamespace.cc
M src/ytypes.i
Log Message:
-----------
make yPython static access return a reference (to avoid pointer access)
Commit: 73f526b9c289e0cf1004d21e052e4f978f2f6387
https://github.com/yast/yast-python-bindings/commit/73f526b9c289e0cf1004d21e...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/Y2PythonComponent.cc
M src/YPython.h
Log Message:
-----------
Clean up YPthon a little, improve encapsulation
* Make private data private
* limit access to static methods, try and force access via the
singleton instance
These changes should make it easier to control access to the dirty
internals such as pMainDicts. Probably there should be only one
place where pMainDicts is created (the ctor ?).
Commit: bcca99817ee4bc404b2b1103d692d4cfbf6390e1
https://github.com/yast/yast-python-bindings/commit/bcca99817ee4bc404b2b1103...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPython.cc
M src/YPython.h
Log Message:
-----------
Don't use a static _pMainDicts
Instead make sure there is just a single instance of _pMainDicts
owned by the YPython singleton. This should make it easier to track
problems
Commit: f6484f9fdd36d8784ae37f838f7aa7d4ddb11b60
https://github.com/yast/yast-python-bindings/commit/f6484f9fdd36d8784ae37f83...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/yast.cpp
Log Message:
-----------
Prevent infinite loop in py2 when importing 'python' module from client
create new independant module (to store the references to the actual
python module) This will avoid clashes with internal dictionaries for
module objects created with the same name as already imported modules
Commit: 093bbfe422f84924e00d23733be091db0156aa36
https://github.com/yast/yast-python-bindings/commit/093bbfe422f84924e00d2373...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YCPDeclarations.cc
Log Message:
-----------
Fix core, don't decrement YCPDeclarations module object
Following the previous fix decrementing the Module pointer causes a
crash on exit
Commit: e07358ee69a9424339eb3cdce1db00ae6e28a28b
https://github.com/yast/yast-python-bindings/commit/e07358ee69a9424339eb3cdc...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPythonNamespace.cc
M src/YPythonNamespace.h
Log Message:
-----------
Remove Y2PythonSubCall Y2PythonMethodCall and associated m_all_methods
For simplification lets remove stuff we don't use
Commit: 4b79cf4f6ed8fbeca13e1d6c6a425fde6e3295eb
https://github.com/yast/yast-python-bindings/commit/4b79cf4f6ed8fbeca13e1d6c...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPython.h
Log Message:
-----------
Remove unimplemented functions in YPython
Commit: 45f48095264da29ff36daa3bac963421211c8088
https://github.com/yast/yast-python-bindings/commit/45f48095264da29ff36daa3b...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPythonNamespace.cc
M src/YPythonNamespace.h
Log Message:
-----------
Cleanup: use new common private insertFuncSymbol to avoid code duplication
Commit: 71a5ebf76ee74f2a9155da45a1543160ae68840e
https://github.com/yast/yast-python-bindings/commit/71a5ebf76ee74f2a9155da45...
Author: Noel Power
Date: 2019-01-17 (Thu, 17 Jan 2019)
Changed paths:
M src/YPythonNamespace.cc
M src/YPythonNamespace.h
Log Message:
-----------
share insertFuncSymbol more
Commit: 7373079063cffed56d0ebdfde405315b5bbf06e4
https://github.com/yast/yast-python-bindings/commit/7373079063cffed56d0ebdfd...
Author: Noel Power
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M src/YPython.cc
Log Message:
-----------
Clean up module name & path processing
Commit: 333be70b5a11013580fc7e15d0158a5512af1959
https://github.com/yast/yast-python-bindings/commit/333be70b5a11013580fc7e15...
Author: Noel Power
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M src/YPython.cc
Log Message:
-----------
Initialise pMainDict in just one place (the ctor)
Commit: 0b3f85801d65f9144f350531ed1bf55b2c0a741a
https://github.com/yast/yast-python-bindings/commit/0b3f85801d65f9144f350531...
Author: David Mulder
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M src/Y2PythonComponent.h
M src/YCPDeclarations.h
M src/YPython.cc
M src/YPythonNamespace.cc
Log Message:
-----------
Delete commented out code cruft
Commit: efe62823bf09f0e40bc817eb3816cfce1653b093
https://github.com/yast/yast-python-bindings/commit/efe62823bf09f0e40bc817eb...
Author: David Mulder
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M src/Y2CCPython.cc
M src/Y2CCPython.h
M src/Y2PythonComponent.cc
M src/Y2PythonComponent.h
M src/YCPDeclarations.cc
M src/YCPDeclarations.h
M src/YPython.cc
M src/YPython.h
M src/YPythonNamespace.cc
M src/YPythonNamespace.h
M src/compat.h
Log Message:
-----------
Some code formating cleanup, using astyle
Commit: 6f591c453cc564a703c2862f5332a6dcf5123b67
https://github.com/yast/yast-python-bindings/commit/6f591c453cc564a703c2862f...
Author: Noel Power
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M src/YPython.cc
Log Message:
-----------
Should included python fail at least output trace to yast log
Commit: e85c01dc2936914b39e1edf09e3b41521ecfefec
https://github.com/yast/yast-python-bindings/commit/e85c01dc2936914b39e1edf0...
Author: David Mulder
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M configure.in.in
M package/yast2-python-bindings.spec
M src/Makefile.am
Log Message:
-----------
Improve building/packaging of python2/3
Commit: 6466abc5489f9162218407dbfa42afd0beb73fe0
https://github.com/yast/yast-python-bindings/commit/6466abc5489f9162218407db...
Author: David Mulder
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M src/yast.py.in
Log Message:
-----------
The HVStretch widget was dropped 12 years ago
Commit: 50c07d5774d4f44af68daaa1e995503968e68788
https://github.com/yast/yast-python-bindings/commit/50c07d5774d4f44af68daaa1...
Author: David Mulder
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M src/Makefile.am
M src/yast.py.in
A src/yast_help.py
Log Message:
-----------
Add pydocs to yast python
Commit: add6eab41473ad0e6757fe1f8ad13d28480284f6
https://github.com/yast/yast-python-bindings/commit/add6eab41473ad0e6757fe1f...
Author: David Mulder
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M src/yast.py.in
M src/ycpbuiltins.py
Log Message:
-----------
Hide implementation details from yast import
Commit: f742c1e5f4a79d049f191e1218a6eb4146b768c2
https://github.com/yast/yast-python-bindings/commit/f742c1e5f4a79d049f191e12...
Author: David Mulder
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M package/yast2-python-bindings.changes
Log Message:
-----------
Update changelog
Commit: afb246564ce4be4abc44ffad9e23b55bd1438bb8
https://github.com/yast/yast-python-bindings/commit/afb246564ce4be4abc44ffad...
Author: David Mulder
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M configure.in.in
M package/yast2-python-bindings.changes
M package/yast2-python-bindings.spec
M src/Makefile.am
A src/Y2CCPython.cc
A src/Y2CCPython.h
A src/Y2PythonComponent.cc
A src/Y2PythonComponent.h
A src/YCPDeclarations.cc
A src/YCPDeclarations.h
A src/YCPDeclarations.py
A src/YPython.cc
A src/YPython.h
A src/YPythonNamespace.cc
A src/YPythonNamespace.h
A src/compat.h
M src/yast-core.i
M src/yast.cpp
M src/yast.h
M src/yast.py.in
A src/yast_help.py
M src/ycpbuiltins.py
M src/ytypes.i
Log Message:
-----------
Merge pull request #21 from dmulder/ypython
Forward port old bindings code which handled python import from ruby/perl, etc
Compare: https://github.com/yast/yast-python-bindings/compare/303e39e198c8...afb24656...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.