Patch #3268 2012-03-27 22:28
alpha0010
Update AStyle library- Download
- 3268-Update_AStyle.patch (367.3 KB)
- Category
- Plugin::Refinement
- Status
- Out of date
- Close date
- 2012-06-28 05:47
- Assigned to
- mortenmacfly
Index: src/CodeBlocks.cbp
===================================================================
--- src/CodeBlocks.cbp (revision 7913)
+++ src/CodeBlocks.cbp (working copy)
@@ -264,6 +264,7 @@
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
<Add option="-DwxPG_USE_WXMODULE=0" />
+ <Add option="-DASTYLE_LIB" />
<Add directory="include" />
<Add directory="plugins\astyle\astyle" />
</Compiler>
Index: src/plugins/astyle/astyle/news.html
===================================================================
--- src/plugins/astyle/astyle/news.html (revision 7913)
+++ src/plugins/astyle/astyle/news.html (working copy)
@@ -33,27 +33,76 @@
Artistic Style 2.03 (pending)</h3>
<p>
+ A new option, "indent=force-tab-tab=#" or "xT#", will allow force tab indents with a tab length that is different
+ than the indent length. See the documentation for details.</p>
+ <p>
A new option, "max-code-length=#" or "xC#", will limit the length of code on a line. A new option "break‑after‑logical",
or "xL", will modify a line break for conditionals. See the documentation for details.</p>
<p>
+ A new option, "pad-first-paren-out" or "xd", will pad only the first paren in a seies on the outside. See the
+ documentation for details.</p>
+ <p>
+ The short option for delete-empty-lines has changed from "xd" to "xe".
+ </p>
+ <p>
+ Closing the ending angle brackets of templates
+ is now allowed by the C++11 standard.. A new option, "close-templates" or-xy, will close the whitespace in the angle brackets of template definitions. Be
+ sure your compiler supports this before making the changes.</p>
+ <p>
+ The C/C++ keyword 'extern "C"' in a preprocessor no longer causes an extra indent.
+ </p>
+ <p>
+ Formatting of C++/CLI managed pointers (the '^' character) has been added to the "align-pointer"
+ option.
+ </p>
+ <p>
+ The byte order mark (BOM) has been removed from ASLocalizer.cpp for all distributions. The encoding of the file
+ is UTF-8.
+ </p>
+ <p>
Translations have been added for Dutch, Finnish, Italian, Japanese, Korean, Polish, Portuguese, Russian, Swedish,
- and Ukrainian. The translations were done with an automated
- translation program, Google Translate, so they may not be the best translation possible. The translations are
- at the end of ASLocalizer.cpp in the form of an English‑Translation pair. If you correct a translation,
- send the source as a bug report and it will be included in the next release. To add a language, see "Internationalization"
- in the "General Information" section of the documentation. Send the addition as a bug report and it will be included
- in the next release.</p>
+ and Ukrainian. The translations were done with an automated translation program, Google Translate, so they may
+ not be the best translation possible. The translations are at the end of ASLocalizer.cpp in the form of an English‑Translation
+ pair. If you correct a translation, send the source as a bug report and it will be included in the next release.
+ To add a language, see "Internationalization" in the "General Information" section of the documentation. Send
+ the addition as a bug report and it will be included in the next release.
+ </p>
<p>
- Breaking after a "case" statement when "break-elseifs" is used has been fixed. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- The crash caused by formatting a pointer to pointer (**) that starts a new line has been fixed.
+ The "Developer Information" page has a new example and download for calling Artistic Style from a Python script.
+ It will run with both Python 2 and Python 3. Using Python 3 shows an example of formatting a Unicode string with
+ Artistis Style. The Unicode strings must be encoded to UTF-8 before formatting and decoded back to Unicode afterward.
+ The example script shows the technique for doing this. It also shows how to set up the function pointers and allocate
+ memory in Python.
</p>
+ <p>
+ Thanks to Christopher Sean Morrison, Keith OHara, louis6g, and J for their contributions.
+ </p>
+ <h4>
+ Python IDE</h4>
+
+ <p>
+ If you use Visual Studio on Windows, it can now be used for Python development. <a href="https://pytools.codeplex.com/"
+ target="_blank" title="open new window">Python Tools for Visual Studio</a> (PTVS) is a free and open source
+ plug-in for Visual Studio 2010 that supports CPython and IronPython. Other interpreters such Jython and PyPy
+ can be added. It can
download for full patch...
History
mortenmacfly 2012-06-17 07:47
Is this still applicable? I believe meanwhile SVN head is even more up-to-date...
alpha0010 2012-06-17 16:26
You are right, it is no longer applicable. (The Boost patch #3254 can be closed as well.)