[umbrello] [Bug 158739] Python Import Classes does not import Attributes

2016-09-02 Thread Ralf Habacker via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=158739

--- Comment #5 from Ralf Habacker  ---
Git commit dac2d69cba81cc00a47ba4d4e5bb462066ab6ced by Ralf Habacker.
Committed on 02/09/2016 at 05:40.
Pushed by habacker into branch 'Applications/16.08'.

Add 'list' to python code generator list of default data types.

This type is required by python import, which uses the generator
data type list too.

M  +1-0umbrello/codegenerators/python/pythonwriter.cpp

http://commits.kde.org/umbrello/dac2d69cba81cc00a47ba4d4e5bb462066ab6ced

--- Comment #4 from Ralf Habacker  ---
Git commit f8becb1075451f046230d3c41fd50e1d606258e4 by Ralf Habacker.
Committed on 02/09/2016 at 08:59.
Pushed by habacker into branch 'Applications/16.08'.

Add support for parsing python instance variables.

Instance variables are parsed from __init__ method
only according to python 3 tutorial.

M  +14   -0test/import/python/types.py
M  +29   -1umbrello/codeimport/pythonimport.cpp

http://commits.kde.org/umbrello/f8becb1075451f046230d3c41fd50e1d606258e4

--- Comment #3 from Ralf Habacker  ---
Git commit 43d647747fe4720c9f5e63d4fdda0c1368b05ed9 by Ralf Habacker.
Committed on 02/09/2016 at 05:40.
Pushed by habacker into branch 'Applications/16.08'.

Refactor python assignment parser into separate method supporting class
variables.

Instance variables will be handled by this method too.

M  +10   -7test/import/python/types.py
M  +54   -41   umbrello/codeimport/pythonimport.cpp
M  +2-0umbrello/codeimport/pythonimport.h

http://commits.kde.org/umbrello/43d647747fe4720c9f5e63d4fdda0c1368b05ed9

-- 
You are receiving this mail because:
You are watching all bug changes.


[umbrello] [Bug 158739] Python Import Classes does not import Attributes

2016-09-02 Thread Ralf Habacker via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=158739

--- Comment #5 from Ralf Habacker  ---
Git commit dac2d69cba81cc00a47ba4d4e5bb462066ab6ced by Ralf Habacker.
Committed on 02/09/2016 at 05:40.
Pushed by habacker into branch 'Applications/16.08'.

Add 'list' to python code generator list of default data types.

This type is required by python import, which uses the generator
data type list too.

M  +1-0umbrello/codegenerators/python/pythonwriter.cpp

http://commits.kde.org/umbrello/dac2d69cba81cc00a47ba4d4e5bb462066ab6ced

--- Comment #4 from Ralf Habacker  ---
Git commit f8becb1075451f046230d3c41fd50e1d606258e4 by Ralf Habacker.
Committed on 02/09/2016 at 08:59.
Pushed by habacker into branch 'Applications/16.08'.

Add support for parsing python instance variables.

Instance variables are parsed from __init__ method
only according to python 3 tutorial.

M  +14   -0test/import/python/types.py
M  +29   -1umbrello/codeimport/pythonimport.cpp

http://commits.kde.org/umbrello/f8becb1075451f046230d3c41fd50e1d606258e4

--- Comment #3 from Ralf Habacker  ---
Git commit 43d647747fe4720c9f5e63d4fdda0c1368b05ed9 by Ralf Habacker.
Committed on 02/09/2016 at 05:40.
Pushed by habacker into branch 'Applications/16.08'.

Refactor python assignment parser into separate method supporting class
variables.

Instance variables will be handled by this method too.

M  +10   -7test/import/python/types.py
M  +54   -41   umbrello/codeimport/pythonimport.cpp
M  +2-0umbrello/codeimport/pythonimport.h

http://commits.kde.org/umbrello/43d647747fe4720c9f5e63d4fdda0c1368b05ed9

-- 
You are receiving this mail because:
You are watching all bug changes.


[umbrello] [Bug 158739] Python Import Classes does not import Attributes

2016-09-02 Thread Ralf Habacker via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=158739

--- Comment #5 from Ralf Habacker  ---
Git commit dac2d69cba81cc00a47ba4d4e5bb462066ab6ced by Ralf Habacker.
Committed on 02/09/2016 at 05:40.
Pushed by habacker into branch 'Applications/16.08'.

Add 'list' to python code generator list of default data types.

This type is required by python import, which uses the generator
data type list too.

M  +1-0umbrello/codegenerators/python/pythonwriter.cpp

http://commits.kde.org/umbrello/dac2d69cba81cc00a47ba4d4e5bb462066ab6ced

--- Comment #4 from Ralf Habacker  ---
Git commit f8becb1075451f046230d3c41fd50e1d606258e4 by Ralf Habacker.
Committed on 02/09/2016 at 08:59.
Pushed by habacker into branch 'Applications/16.08'.

Add support for parsing python instance variables.

Instance variables are parsed from __init__ method
only according to python 3 tutorial.

M  +14   -0test/import/python/types.py
M  +29   -1umbrello/codeimport/pythonimport.cpp

http://commits.kde.org/umbrello/f8becb1075451f046230d3c41fd50e1d606258e4

--- Comment #3 from Ralf Habacker  ---
Git commit 43d647747fe4720c9f5e63d4fdda0c1368b05ed9 by Ralf Habacker.
Committed on 02/09/2016 at 05:40.
Pushed by habacker into branch 'Applications/16.08'.

Refactor python assignment parser into separate method supporting class
variables.

Instance variables will be handled by this method too.

M  +10   -7test/import/python/types.py
M  +54   -41   umbrello/codeimport/pythonimport.cpp
M  +2-0umbrello/codeimport/pythonimport.h

http://commits.kde.org/umbrello/43d647747fe4720c9f5e63d4fdda0c1368b05ed9

-- 
You are receiving this mail because:
You are watching all bug changes.


[umbrello] [Bug 158739] Python Import Classes does not import Attributes

2016-09-01 Thread Ralf Habacker via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=158739

Ralf Habacker  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
   Version Fixed In||2.20.1 (KDE Applications
   ||16.08.1)
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/umbr
   ||ello/2d452ec81ad95e4788505f
   ||21cb4e0de50fed8505

--- Comment #2 from Ralf Habacker  ---
Git commit 2d452ec81ad95e4788505f21cb4e0de50fed8505 by Ralf Habacker.
Committed on 01/09/2016 at 17:29.
Pushed by habacker into branch 'Applications/16.08'.

Fix 'Python Import Classes does not import Attributes'.

This commit adds support for parsing class attributes and
includes related test cases. Attribute types are estimated
from the initialisation value.
For supported types see test/import/python/types.py, for
supported visibilities test/import/python/visibility.py
FIXED-IN:2.20.1 (KDE Applications 16.08.1)

A  +10   -0test/import/python/types.py
A  +19   -0test/import/python/visibility.py
M  +11   -0umbrello/codeimport/nativeimportbase.cpp
M  +1-0umbrello/codeimport/nativeimportbase.h
M  +44   -0umbrello/codeimport/pythonimport.cpp

http://commits.kde.org/umbrello/2d452ec81ad95e4788505f21cb4e0de50fed8505

-- 
You are receiving this mail because:
You are watching all bug changes.