Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move writing of G_GNUC_DEPRECATED down to CCodeDeclarator implementations | Rico Tzschichholz | 2017-01-04 | 2 | -4/+4 |
| | | | | | Doing so in CCodeDeclaration is error-prone. CCodeVariableDeclarator still requires special handling which isn't done here. | ||||
* | ccodefunction: Only add G_GNUC_DEPRECATED to declarations | Rico Tzschichholz | 2017-01-04 | 1 | -4/+4 |
| | |||||
* | ccode: Fix and disable deprecating EnumValue | Rico Tzschichholz | 2016-11-11 | 1 | -3/+5 |
| | | | | | This still requires GCC 6.0 and later to work. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47043 | ||||
* | Transform CCode*'s "deprecated" into using CCodeNode's "modifiers" | Rico Tzschichholz | 2016-11-11 | 4 | -23/+6 |
| | |||||
* | Add G_GNUC_PRINTF/SCANF attribute for Printf/ScanfFormat functions | Rico Tzschichholz | 2016-11-09 | 3 | -3/+31 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=710862 | ||||
* | Transform CCodeParameter's "format_arg" into CCodeNode's "modifiers" | Rico Tzschichholz | 2016-11-08 | 4 | -5/+4 |
| | |||||
* | Add CCodeNode "modifiers" and transform CCodeFunction's "attributes" to it | Rico Tzschichholz | 2016-11-08 | 4 | -17/+22 |
| | |||||
* | codegen: Add G_GNUC_FORMAT attribute for FormatArg function-pointers | Rico Tzschichholz | 2016-11-07 | 1 | -4/+11 |
| | |||||
* | codegen: Add G_GNUC_FORMAT attribute for FormatArg functions | Jürg Billeter | 2016-11-07 | 2 | -5/+14 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=774060 | ||||
* | Fix deprecation of class/struct fields | Rico Tzschichholz | 2016-11-03 | 3 | -8/+11 |
| | | | | | Respect the "deprecated" attributes given to class and struct fields, while actually adding G_GNUC_DEPRECATED to their declaration. | ||||
* | Don't create constant Regex on demand and use static field where possible | Rico Tzschichholz | 2016-11-01 | 1 | -2/+5 |
| | |||||
* | ccodewriter: Use private _bol field instead of property | Rico Tzschichholz | 2016-11-01 | 1 | -2/+2 |
| | |||||
* | writer: Some string optimizations | Rico Tzschichholz | 2016-11-01 | 1 | -4/+1 |
| | |||||
* | Avoid some string copying | Rico Tzschichholz | 2016-11-01 | 1 | -4/+1 |
| | |||||
* | ccode: Replace if-else-tree with switch | Rico Tzschichholz | 2016-10-30 | 2 | -61/+36 |
| | |||||
* | ccode: Add missing newline after gnuc deprecations attribute | Philip Withnall | 2016-10-18 | 1 | -0/+1 |
| | | | | | | | | | In generated C code, code wrapped by G_GNUC_[BEGIN|END]_IGNORE_DEPRECATIONS was missing a newline after the BEGIN attribute, which was causing compilation failures. Fix that by adding the missing newline. https://bugzilla.gnome.org/show_bug.cgi?id=773129 | ||||
* | codegen: Support deprecating properties and their accessors | Rico Tzschichholz | 2016-10-18 | 2 | -0/+65 |
| | | | | | | | | | | | | Use G_PARAM_DEPRECATED for properties and in addition their accessor methods will be marked as deprecated. Guard internal accessors calls with G_GNUC_BEGIN/END_IGNORED_DEPRECATIONS to silence unavoidable warnings. Based on patch by Simon Werbeck <simon.werbeck@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=732449 | ||||
* | Fix parameter names in the documentation for libvala | Ben Iofel | 2015-11-11 | 1 | -1/+0 |
| | | | | Fixes bug 755917 | ||||
* | build: Avoid using ".." for referencing paths and reorganize valac-calls | Rico Tzschichholz | 2014-08-24 | 1 | -5/+12 |
| | |||||
* | Support non-literal length in fixed-size arrays | Simon | 2014-03-30 | 2 | -6/+33 |
| | | | | | | | Now any constant integer expression can be used as length for fixed-size arrays. Fixes bug 638993 | ||||
* | Hide internal methods in ABI | Maciej Piechotka | 2014-03-24 | 3 | -3/+10 |
| | | | | Fixes bug 700157 | ||||
* | build: Fix missing backslashes in lists | Stef Walter | 2014-03-02 | 1 | -1/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=725496 | ||||
* | codegen: use #if GLIB_CHECK_VERSION for init functions | Marc-André Lureau | 2013-12-14 | 2 | -0/+51 |
| | | | | | | | | | Tarballs with generated code should compile without warnings, and work with various versions of glib (assuming the rest of the code is correctly up to date, which is often the case if you don't use newer functions) https://bugzilla.gnome.org/show_bug.cgi?id=692218 | ||||
* | codegen: Fix va_start argument in methods throwing errors | Jürg Billeter | 2012-08-01 | 1 | -1/+9 |
| | | | | Fixes bug 620673. | ||||
* | ccode: Add current_line in CCodeFunction to be set for added statements | Luca Bruno | 2011-07-18 | 1 | -10/+23 |
| | |||||
* | ccode: Fix line breaking of string literals with octal escape sequences | Jürg Billeter | 2011-05-30 | 1 | -0/+14 |
| | |||||
* | codegen: Add CCodeFunction.add_assignment convenience function | Luca Bruno | 2011-01-19 | 1 | -0/+4 |
| | |||||
* | Add get_type functions to symbols file | Jürg Billeter | 2011-01-15 | 1 | -6/+14 |
| | | | | Fixes bug 637909. | ||||
* | Rename FormalParameter to Parameter | Jürg Billeter | 2010-10-28 | 4 | -13/+13 |
| | |||||
* | Add builder API to CCodeFunction | Jürg Billeter | 2010-09-09 | 1 | -0/+133 |
| | |||||
* | Add CCodeFile.add_function_declaration and CCodeFunction.is_declaration | Jürg Billeter | 2010-09-09 | 2 | -2/+12 |
| | |||||
* | Replace CCodeDeclarationSpace by CCodeFile | Jürg Billeter | 2010-08-21 | 2 | -0/+174 |
| | |||||
* | glib-2.0: Deprecate string.size () in favor of string.length | Jürg Billeter | 2010-08-20 | 1 | -1/+1 |
| | |||||
* | Add version suffix to installed files to allow parallel installation | Jürg Billeter | 2010-08-05 | 1 | -1/+1 |
| | |||||
* | dova: Do not generate empty structs | Jürg Billeter | 2010-08-05 | 1 | -2/+4 |
| | |||||
* | Append doc comments to generated C files | Jürg Billeter | 2010-07-27 | 1 | -19/+26 |
| | |||||
* | dova: Add support for [ThreadLocal] fields | Jürg Billeter | 2010-07-17 | 2 | -3/+8 |
| | |||||
* | dova: Fix struct variable initialization | Jürg Billeter | 2010-06-27 | 1 | -1/+1 |
| | |||||
* | codegen: write G_GNUC_DEPRECATED in generated C where appropriate | Evan Nemerson | 2010-06-15 | 7 | -3/+43 |
| | |||||
* | Create destination directory when writing C files | Rémy Saissy | 2010-06-07 | 1 | -0/+6 |
| | | | | Fixes bug 612336. | ||||
* | dova: Add experimental backend | Jürg Billeter | 2010-06-05 | 1 | -1/+5 |
| | |||||
* | build: Use $(srcdir) instead of relative paths | Darren Warner | 2010-06-04 | 1 | -1/+1 |
| | | | | Fixes bug 620048. | ||||
* | Fix fixed-length array fields | Jürg Billeter | 2010-03-21 | 1 | -2/+2 |
| | | | | Fixes bug 603293. | ||||
* | Avoic C warnings for some possibly unused functions | Jürg Billeter | 2010-03-21 | 1 | -1/+10 |
| | |||||
* | build: Enable silent rules by default | Marc-André Lureau | 2010-03-21 | 1 | -1/+4 |
| | |||||
* | valac: Add --enable-version-header option | Jürg Billeter | 2010-03-21 | 2 | -3/+6 |
| | | | | | | | Writes Vala version in generated files. Disabled by default for bootstrapping reasons. Based on patch by Marc-André Lureau, fixes bug 608371. | ||||
* | Drop ReadOnly* collection classes | Jürg Billeter | 2010-03-20 | 3 | -3/+3 |
| | | | | | | They are not very useful in the compiler as they are not immutable, which means that they do not allow iteration while modifying the underlying collection. | ||||
* | Split large string literals into multiple lines | Jürg Billeter | 2010-03-14 | 1 | -3/+60 |
| | | | | Based on patch by Marc-André Lureau, fixes bug 606838. | ||||
* | Fix nested struct expression as method argument | Marc-André Lureau | 2010-03-13 | 1 | -1/+5 |
| | | | | Fixes bug 580046. | ||||
* | Fix crash when opening file fails | Jürg Billeter | 2010-02-07 | 1 | -2/+6 |
| | | | | Based on patch by pancake, fixes bug 606837. |