Re: [Development] Qt 5.5.0 header diff: QtDeclarative.diff

2015-06-09 Thread Alan Alpert
I started working on something that would diff QML API changes a while
ago: https://codereview.qt-project.org/#/c/52625/

It's a little tricky, but it basically is just diffing the
plugins.qmltypes files. After regenerating them and having old full
copies because of the manual editing that occurs sometimes. And you
need to diff the parsed tree because the order of lines changes
sometimes. But I suppose the biggest hurdle to getting that tool in is
that I wanted it to run as an autotest and fail if new symbols appear
which aren't properly versioned (a little more work than just listing
changes).

--
Alan Alpert

On Sat, Jun 6, 2015 at 2:23 AM, Liang Qi cavendish...@gmail.com wrote:
 On 6 June 2015 at 10:52, Allan Sandfeld Jensen k...@carewolf.com wrote:

 On Friday 05 June 2015, Frederik Gladhorn wrote:
 

 Would there be any way to generate diffs or changes for QML APIs?


 Perhaps a diff for all plugins.qmltypes files? But I guess that not all were
 updated yet.

 --
 http://www.qiliang.net

 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt 5.5.0 header diff: QtDeclarative.diff

2015-06-06 Thread Thiago Macieira
On Friday 05 June 2015 10:10:49 Frederik Gladhorn wrote:
 
No changes, good.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt 5.5.0 header diff: QtDeclarative.diff

2015-06-06 Thread Allan Sandfeld Jensen
On Friday 05 June 2015, Frederik Gladhorn wrote:
 

Would there be any way to generate diffs or changes for QML APIs?

`Allan
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt 5.5.0 header diff: QtDeclarative.diff

2015-06-06 Thread Liang Qi
On 6 June 2015 at 10:52, Allan Sandfeld Jensen k...@carewolf.com wrote:

 On Friday 05 June 2015, Frederik Gladhorn wrote:
 

 Would there be any way to generate diffs or changes for QML APIs?


Perhaps a diff for all plugins.qmltypes files? But I guess that not all
were updated yet.

-- 
http://www.qiliang.net
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Qt 5.5.0 header diff: QtDeclarative.diff

2015-06-05 Thread Frederik Gladhorn
diff --git a/src/declarative/debugger/qdeclarativedebug.h b/src/declarative/debugger/qdeclarativedebug.h
index e5aba61..8183a2b 100644
--- a/src/declarative/debugger/qdeclarativedebug.h
+++ b/src/declarative/debugger/qdeclarativedebug.h
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development