All notable changes to the CodeStyliser project will be documented in this file.
0.1.11 - 2020-05-21 [CURRENT RELEASE]
- Support for giving only filename as a command line argument, using python's argparse package. One Can now give File name using
-f
or a directory name using-d
flags. Help can be obtained by-h
.
- Updated README
- Updated Command line output
- Compulsory Directory name.
- Fixed unlisted issues that arose in previous versions that were causing program crashes
- Fixed #37
- Verbose logging output (To be made more verbose). Use the tag
-v
or--verbose
to enable verbose output.
- Fixed unlisted issue involving comments in issue #34. That issue is now fixed.
Changed change log entry to accurately represent fixed issues
- Fixed latest issue Non Matching else issue
- Comment error (unlisted issue)
- An error that rose related to else/ else if checking in previous version.
- Exception handling error that arose in version 0.1.11.4-DEV
WARNING: Not completely tested.
- The way else/ else if is handled
- Highly modularised code internally
- Performance improvements
- PEP8 Compliance
- Added experimental support for
.h
files back.
0.1.11 - 2020-05-21
This is the current release, please see CURRENT RELEASE
- A time taken counter
- Updated README
- Updated Command line output
- Updated README
- A few FATAL issues that arised related to macros
- Support for
.h
, Header files
- A few macro related bugs
- README has been updated
- A few bugs
- Experimental support for
.h
, Header files
- Updated README
- keyword on last line of macro error
- How the macro system is detected
- Keyword detection has been revamped
- MACRO-error, which had arised again
- FUNNY-FOR-LOOP error, which is now fixed
- New comment issue, which will now be catched
- README has been updated
- MACRO-error, now works for macros!
- README has been updated
- MACRO-error, now works for macros!
- Command line output beautification
- A lot of bugs
- Printing of new changes
- Command line output beautification
- A lot of bugs
- BSD-2 Clause LICENSE, README files
- Updated gitignore and untracked gitignore changes
- Multi line comment error, Now the code doesnt fail for multiline comments
- Printing of known bugs
- Same line parentheses error: {} added after last ) but must be added after (condition) parentheses
- Same line parentheses error: {} added after last ) but must be added after (condition) parentheses
- Now prints out all current errors
- Renamed "utils.py" to "utilities.py"
- Single line code handling is now smarter and add's comments back
- The code now handles keywords that end on the same line also, for example,
if(...) statement;
is now handled.
- The code now ignores all keywords that have a # after them on the next immediate line
- Another unnamed error that had arised (error #9), this was an error related to
#
after detected keywords
- Support for multiline comments
- i.e, now the code checks for multiline comments
- Another unnamed error that had arised (error #N2), this was an error related to comments
- Another unnamed error that had arised (error #10), this was an error related to line index with parentheses and multi line conditions
- Another unnamed error that had arised (error #11), this was an error related to line index
- Multiline comment block on top of source code files
- Another unnamed error that had arised (error #6)
- The source code file "codeStyliser0.1.0+1.py" has been renamed to "codeStyliser.py" to keep simplicity
- Another unnamed error that had arised
- Now gives errors in the command line and catches exceptions instead of fatally failing and crashing
- Command line output has been beautified
- Renamed "codeStyliser0.0.9.6.py" to "codeStyliser0.1.0+1.py"
- Changes line endings from windows style to unix style for all files that are given
- A "utils.py" file to support "codeStyliser0.0.9.6.py"
- Command line output, It has now been Beautified
- Under the hood refactoring changes, such as dividing code into two seperate files
- Renamed "codeStyliser0.0.9.4.py" to "codeStyliser0.0.9.6.py"
- Program doesnt give UnicodeDecodeError's anymore for CRLF files, by the fix in added.
- A few fatal bugs that had arised during testing of v0.0.9.4
- The "codeStyliser.py" file is now renamed to "codeStyliser0.0.9.4.py"
- Error handling methods
- Better error handling method
- Extension checking method now detects only c files, before it also used to detect .c.extension files.
- Recursive folder editing, Now recursively goes throught the folders and subfodlers of a given directory instead of working on just one file
- Support for giving only a file to format. One must now always give a directory
- Now adds comment's back on the line if a comment was on that line
- Support for
else
and} else
statements
- Command line output slightly
- First character check to ignore all keywords that are not on the first non-whitespace character of a line
- Multiline comment checking
- Fixed range error that was being recieved when searching for open curly braces
- Multiline (Condition) checks for for and while loops and if conditions.
- Multiline comment checking
- Loops over close and open parentheses till it finds the same amount of close and open parentheses
- Added basic support for If conditions
- renamed "main.py" to "codeStyliser.py"
- Updated some command line output
- Basic command line argument support
- Initial logic to add curly braces in "main.py"
- Support for while and for loops
- Parentheses checking, single line comment checking, SemiColon checking
- Initial (first) commit, with basic files