On 01/10/2011 08:08 AM, Tristan Koch wrote: > Hi Tom, > > maybe there is a better way. > > You might want to take a look at tool/data/migration. There you'll > find "patches" for each version. A patch contains a number of regular > expression, internally used by the migration script to search and > replace.
Yes, but the migration data would only provide for replaced or deprecated APIs; it doesn't provide for new APIs. Tom, you wrote about diff'ing, but what would you run your diff on? The api doc .json files? That's probably the best way to go. You have such a Json file for every class. But I wouldn't run diff's on them, as you would get a lot of noise from corrected and updated documentation text, or permutations of otherwise identical entries, which is not what you're interested in. It's probably better to write a small program that reads in the Json doc for each class, extracts the public API (methods, parameters, etc.) and prints them out in a normalized fashion. And then do a diff on those outputs. The doc Json hasn't changed since 1.0. The Json represents a tree, sub-nodes are called "children". You are interested in children of "type" : "method", which in turn have children of "type" : "param". This should get you going. (If you happen to write this in Python I might be interested in adding it to our tool chain). You find all of this in the api/script folder of the framework/ dirctory, after running "generate.py api". Get back if you need any more help. T. > > Tristan > > Am 04.01.2011 um 07:42 schrieb Tristan Koch: > >> Hi Tom, >> >> not that I know of, sorry. >> >> The closest thing that comes into my mind are the release notes >> [1], though they are meant to be human-readable. To create a >> complete and easy to parse list of API changes, the approach you >> suggested seems like a good idea. >> >> Tristan >> >> [1] http://qooxdoo.org/about/release_notes/1.3 >> >> Am 03.01.2011 um 16:39 schrieb Tom Schindl: >> >>> Hi, >>> >>> I'm just starting to port QxWT to the latest Qooxdoo release but >>> I'm having a hard time figuring out which API has been added in >>> the various releases. >>> >>> It looks like bugzilla is not really helpful because it looks >>> like new API is not flag with a keyword or something similiar nor >>> is the API-Viewer which doesn't show things like @since. >>> >>> I guess I could make the generator extract all API (only public >>> API is important to me) for 1.0 and 1.3 and do a diff but I hoped >>> maybe something like this available already. >>> >>> Tom >>> >>> -- B e s t S o l u t i o n . a t EDV >>> Systemhaus GmbH >>> ------------------------------------------------------------------------ >>> >>> tom schindl geschaeftsfuehrer/CEO >>> ------------------------------------------------------------------------ >>> >>> eduard-bodem-gasse 5/1 A-6020 innsbruck phone ++43 512 935834 >>> >>> ------------------------------------------------------------------------------ >>> >>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >>> to consolidate database storage, standardize their database >>> environment, and, should the need arise, upgrade to a full >>> multi-node Oracle RAC database without downtime or disruption >>> http://p.sf.net/sfu/oracle-sfdevnl >>> _______________________________________________ qooxdoo-devel >>> mailing list [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> <ATT00001..txt><ATT00002..txt> > > > ------------------------------------------------------------------------------ > > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn > how to best implement a security strategy that keeps consumers' > information secure and instills the confidence they need to proceed > with transactions. http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ qooxdoo-devel mailing > list [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
