<div dir="ltr">Hi Salvatore,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 30, 2013 at 2:52 PM, Salvatore Larosa <span dir="ltr"><<a href="mailto:lrssvtml@gmail.com" target="_blank">lrssvtml@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Larry,<br><div class="gmail_extra"><br><div class="gmail_quote">2013/8/30 Larry Shaffer <span dir="ltr"><<a href="mailto:larrys@dakotacarto.com" target="_blank">larrys@dakotacarto.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>I've added generation of the console's API *.pap file for auto-completion [0]. This allows to keep up with latest API bindings in an easier fashion:<br>


<br>make && make qsci-pap-src && make install<br>
Generates the default .pap file (~1 MB) in source tree, which can take over a minute.<br><br>make && make qsci-pap-master [&& make install]<br>Generates a local-only .pap that overrides the default .pap (when testing new bindings). It will optionally be installed as well. Distributing such an install, like for custom console API completions, will always override the default .pap.<br>



<br></div><div>You can edit run the <src>/python/qsci_apis/generate_console_pap.py script directly to produce custom .pap files.<br></div><div><br></div>Please let me know if you can think of a better solution.<br>


</div></div></blockquote><div><br></div><span lang="en"><span>I think this is a good solution</span><span></span></span>, I was going to push the updated APIs files generated by myself. Thanks.<div>
 </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><br>
</div>Default .pap includes the following APIs (unchanged from before):<br><br>PyQGIS.api<br>Python-2.7.api<br>PyQt4-4.7.4.api<br>OSGeo_GDAL-OGR-1.9.1.api<br><br>Should GDAL-OGR-1.9.1 be updated to 1.10 for QGIS 2.0 release?<br>


</div></blockquote><div><br></div>I would like update to the 1.10.0 version and add the GEOS-3.4.2, I have prepared those api files so if there are not objections here I could push they to master in order to add the new APIs to the pyqgis.pap file.<br>
</div></div></div></blockquote><div><br></div><div>Sounds good to me. I'm done mucking about with the setup, so please make the changes you see fit. Looks like the default pyqgis.pap I committed is missing the new 'qgis.core.NULL' attribute. Must of missed that somehow. Shows up fine when making qsci-pap-master, though. Please test for its completion tip in console before uploading another +1 MB .pap file (thanks).<br>
<br></div><div>Missing is the QScintilla2 API file, but I think that will just bloat the default completions with items most users will not need. IMO, we should keep the default .pap as slim as possible, for the same reasons, i.e. just core PyQGIS, OSGeo and Python/PyQt modules. That is, until there is on-the-fly object inspection support, which would auto-filter the results.<br>
<br></div><div>Regards,<br></div><div><br></div><div>Larry<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote"></div><div class="gmail_quote">I am going to test your cool commit....:-)<br></div><div class="gmail_quote"><div><br></div><div>Thanks a lot!<br><br></div><div>Best Regards,<br><br></div><div>-SL<br>
</div><div> </div>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<div><br><div><div><br>[0] <a href="https://github.com/qgis/Quantum-GIS/commit/dc462859" target="_blank">https://github.com/qgis/Quantum-GIS/commit/dc462859</a><br clear="all"><div><div><div><div><br></div><div>Regards,<br>


</div><div><br>
Larry</div>
</div></div></div></div></div></div></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><span class=""><font color="#888888"><br></font></span></blockquote></div><span class=""><font color="#888888"><br>
<br clear="all"><br>-- <br>Salvatore Larosa<br>linkedIn: <a href="http://linkedin.com/in/larosasalvatore" target="_blank">http://linkedin.com/in/larosasalvatore</a><br>

twitter: @lrssvt<br>skype: s.larosa<br>IRC: lrssvt on freenode<br>
</font></span></div></div>
</blockquote></div><br></div></div></div>