Share

Jedi Code Format

Project News for Jedi Code Format

  • JCF 2.43 released

    The theme to this release, if there is one, is consolidating support for FreePascal and Delphi 2009.

    JCF 2.43: changed since 2.42

    More assorted changes for FreePascal supplied by Paul Ishenin.

    Support for some FreePascal operator overloads.

    Fixed issues in the handling of UTF-8 format files containing Unicode characters.

    Fixed Sourceforge bug 2490118: Parser exception with empty var section in a class, reported by TridenT
    Fixed Sourceforge bug 2130798: Indentation strange on procedure local type/var declarations, reported by Lawrence Johnstone.
    Fixed Sourceforge bug 2443660: Line Breaking Uses Clause - Not working, reported by Donovan J. Edye.
    Fixed Sourceforge bug 2120068: IndentProcedures setting has no effect, reported by Lawrence Johnstone. Added a new setting to indent procedure body one stop.

    2009-01-24 19:07:06 UTC by anthonysteele

  • JCF 2.42 released

    The change log is as follows:

    Using JcfStringUtils.pas for many string-handling routines to be licence-compatible with Free Pascal. File supplied by Paul Ishenin.
    A lot of FPC/Lazarus compatibility work from Paul Ishenin.

    Errors found and fixed by testing with Lazarus source:
    Absolute keyword can be followed by a dotted name.Lower case hex digits weren't recognised. This was probably introduced recently.
    Error in line breaking around conditional compilation, parse failed with an error "Spaces to end is -5" (or other negative number).

    Fixed Sourceforge Bug 2197489 Too many spaces if no new line before "begin"

    Added the formatting option "Settings | Spaces | Move Spaces to before colon". This option is not standard and is not checked by default. It produces a layout where the colon is at the end of the spacing, e.g. var flag :boolean; instead of the usual var flag: boolean;. This fixes SourceForge bug 2173842, requested by Wolfe Cheng.

    2008-12-17 17:02:35 UTC by anthonysteele

  • JCF 2.41 released, with better Delphi 2009 support

    Delphi 2009 is now the default environment for JCF.
    Support for some more Delphi 2008 syntax: Result := inherited; and a first pass at support for anonymous functions. Added more test cases on generics.
    This fixes Sourceforge bug 2207649 D2009 - result := inherited;
    Fixed Sourceforge bug 2120068: "IndentProcedures setting has no effect", by removing the unused settings.
    Some code changes were made for string handling in Delphi 2009. All test cases pass in Delphi 2009 and Delphi 2007. The latest (SVN head) version of JCL and JVCL was used, since there are bugs in the Delphi 2009 released version.

    2008-11-29 22:08:10 UTC by anthonysteele

  • Jedi Code Format: JCF 2.40 released, Delpni 2009 support

    The Jedi Code Formatter is an open-source code formatter for the Borland Delphi Object-Pascal programming language. The formatter can standardise all aspects of Delphi Object Pascal and Delphi.NET source code formatting, including indentation, spacing an


    JCF 2.40: Changed since 2.39

    Fixed Sourceforge bug 2091031 Unsaved setting: setting "return after uses" is not saved in configuration. Reported by Herman Rozendaal
    Fixed Sourceforge bug 2000557 Obfuscation error (if ... else) has space removed.
    Fixed Sourceforge bug 2117568 Parser error on record with some fields having visibility.
    Fixed Sourceforge bug 2121476 Parser error: Parser Error: CLASS OF with qualified type name. Reported and fix by SleepyGuy.
    Fixed Sourceforge bug 2159448 Parser error on ASM hex number with "h" suffix.
    Fixed Sourceforge bug 2173846 Cannot specify spaces before colon in typed const. Reported by Wolfe Cheng

    Jean-Fabien Connault added support for building JCF in Delphi 2009. Also added simultaneous support of Delphi 2007 and Delphi 2009 (D11 and D12 subfolders).

    Some changes to make porting to FreePascal easier, requested by Paul Ishenin. More changes to come in future versions for this.

    Improvements to reporting of messages on the command line, requested by Mageslayer.

    2008-10-22 14:56:16 UTC by anthonysteele

  • JCF 2.39 released

    In this version:

    Fixed Sourceforge bug 2071265: setting "return after uses" is not saved in configuration. Reported by Reinier Sterkenburg.
    Fixed Sourceforge bug 2044146: 'end' does not match alignment. Reported by Christian Budde.
    Fixed Sourceforge bug 2075894 Gave more information on parse failure, reported by Christoph Roeper.
    Suppress parse tree dialog on failure from the commandline program, requested by Mageslayer.
    Added non-zero commandline return codes in case of error, requested by Mageslayer.
    Various fixes to previous versions of the IDE plugin, from Christian Budde.

    There are more fixes to come, as several people are actively reporting usage issues at present.

    2008-09-01 21:00:21 UTC by anthonysteele