Skip to content

Commit 059b751

Browse files
Merge pull request #4518 from uncrustify/uncrustify-RC-0.81.0
Prepare Uncrustify v0.81.0 release
2 parents 8c673cf + f5be9d4 commit 059b751

File tree

11 files changed

+47
-14
lines changed

11 files changed

+47
-14
lines changed

AUTHORS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ David Catmull
5151
David E. O'Brien
5252
David Lechner
5353
David Schaefgen
54+
Denzel
5455
Dirk Thomas
5556
Dittrich, Rico
5657
Dmitry Marakasov
@@ -108,6 +109,7 @@ Lauri Kasanen
108109
lbmaian
109110
Leon Breedt
110111
Lorenz Haas
112+
Lukas Tomovic
111113
Lykurg
112114
Maciej Bogusz
113115
Manning, James
@@ -122,8 +124,10 @@ Martin Simonovsky
122124
Martin Storsjo
123125
Matthew McDole
124126
Matthew Woehlke
127+
Mauricio Mendes
125128
Maxim Mikityanskiy
126129
Max Smolens
130+
MDW
127131
MeXx
128132
Michaël Peeters
129133
Michele Calgaro
@@ -138,6 +142,7 @@ neok-m4700
138142
Nico Decker
139143
Oleg Liatte
140144
Oleg Smolsky
145+
olemayu
141146
Owen Rudge
142147
Pat Notz
143148
Patrick Rohr

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ endif()
140140
# Generate uncrustify_version.h
141141
#
142142

143-
set(UNCRUSTIFY_VERSION "0.80.1_f")
143+
set(UNCRUSTIFY_VERSION "0.81.0_f")
144144

145145
option(NoGitVersionString "Do not use make_version.py and git to build a version string" OFF)
146146
if(NoGitVersionString)

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Change highlights in uncrustify-0.81.0 (May 2025)
2+
-------------------------------------------------------------------------------
3+
61fe771bf1facb01f291f24564bba1af96636270
4+
Added : nl_bool_expr_hierarchical Nov 18 2024
5+
344657f2c0b7e4db246787c377e16965ade10679
6+
Added : indent_bool_nested_all Nov 18 2024
7+
18
Change highlights in uncrustify-0.80.1 (November 2024)
29
-------------------------------------------------------------------------------
310
d0ad61170436df7afab2b8041b49837f06f087ec

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
A source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn and Vala.
1010

1111
## Features
12-
* Highly configurable - 855 configurable options as of version 0.80.1
12+
* Highly configurable - 857 configurable options as of version 0.81.0
1313
- <details><summary>add/remove spaces</summary>
1414

1515
- `sp_before_sparen`: _Add or remove space before '(' of 'if', 'for', 'switch', 'while', etc._

documentation/htdocs/config.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Uncrustify-0.80.1
1+
# Uncrustify-0.81.0
22

33
#
44
# General options
@@ -881,6 +881,7 @@ sp_inv = remove # ignore/add/remove/force
881881
sp_addr = remove # ignore/add/remove/force
882882

883883
# Add or remove space around the '.' or '->' operators.
884+
# also the c-sharp null-conditional operator '?.'
884885
#
885886
# Default: remove
886887
sp_member = remove # ignore/add/remove/force
@@ -1499,6 +1500,9 @@ indent_bool_paren = 0 # number
14991500
# parentheses.
15001501
indent_ignore_bool = false # true/false
15011502

1503+
# Whether to indent lines that are nested in boolean expression one more level for each nesting
1504+
indent_bool_nested_all = false # true/false
1505+
15021506
# Whether to ignore the indentation of an arithmetic operator.
15031507
indent_ignore_arith = false # true/false
15041508

@@ -2511,7 +2515,7 @@ nl_before_access_spec = 0 # unsigned number
25112515
nl_after_access_spec = 0 # unsigned number
25122516

25132517
# The number of newlines between a function definition and the function
2514-
# comment, as in '// comment\n <here> void foo() {...}'.
2518+
# comment, as in '/* comment */ <here> void foo() {...}'.
25152519
#
25162520
# 0: No change (default).
25172521
nl_comment_func_def = 0 # unsigned number

documentation/htdocs/default.cfg

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Uncrustify-0.80.1
1+
# Uncrustify-0.81.0
22

33
#
44
# General options
@@ -881,6 +881,7 @@ sp_inv = remove # ignore/add/remove/force
881881
sp_addr = remove # ignore/add/remove/force
882882

883883
# Add or remove space around the '.' or '->' operators.
884+
# also the c-sharp null-conditional operator '?.'
884885
#
885886
# Default: remove
886887
sp_member = remove # ignore/add/remove/force
@@ -1499,6 +1500,9 @@ indent_bool_paren = 0 # number
14991500
# parentheses.
15001501
indent_ignore_bool = false # true/false
15011502

1503+
# Whether to indent lines that are nested in boolean expression one more level for each nesting
1504+
indent_bool_nested_all = false # true/false
1505+
15021506
# Whether to ignore the indentation of an arithmetic operator.
15031507
indent_ignore_arith = false # true/false
15041508

@@ -2511,7 +2515,7 @@ nl_before_access_spec = 0 # unsigned number
25112515
nl_after_access_spec = 0 # unsigned number
25122516

25132517
# The number of newlines between a function definition and the function
2514-
# comment, as in '// comment\n <here> void foo() {...}'.
2518+
# comment, as in '/* comment */ <here> void foo() {...}'.
25152519
#
25162520
# 0: No change (default).
25172521
nl_comment_func_def = 0 # unsigned number

documentation/htdocs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>Features</h2>
5454
<li>Add or remove parens on return statements</li>
5555
<li>Add or remove braces on single-statement if/do/while/for statements</li>
5656
<li>Supports embedded SQL 'EXEC SQL' stuff</li>
57-
<li>Highly configurable - 855 configurable options as of version 0.80.1</li>
57+
<li>Highly configurable - 857 configurable options as of version 0.81.0</li>
5858
</ul>
5959

6060
<p>

etc/defaults.cfg

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Uncrustify-0.80.1
1+
# Uncrustify-0.81.0
22

33
#
44
# General options
@@ -881,6 +881,7 @@ sp_inv = remove # ignore/add/remove/force
881881
sp_addr = remove # ignore/add/remove/force
882882

883883
# Add or remove space around the '.' or '->' operators.
884+
# also the c-sharp null-conditional operator '?.'
884885
#
885886
# Default: remove
886887
sp_member = remove # ignore/add/remove/force
@@ -1499,6 +1500,9 @@ indent_bool_paren = 0 # number
14991500
# parentheses.
15001501
indent_ignore_bool = false # true/false
15011502

1503+
# Whether to indent lines that are nested in boolean expression one more level for each nesting
1504+
indent_bool_nested_all = false # true/false
1505+
15021506
# Whether to ignore the indentation of an arithmetic operator.
15031507
indent_ignore_arith = false # true/false
15041508

@@ -2511,7 +2515,7 @@ nl_before_access_spec = 0 # unsigned number
25112515
nl_after_access_spec = 0 # unsigned number
25122516

25132517
# The number of newlines between a function definition and the function
2514-
# comment, as in '// comment\n <here> void foo() {...}'.
2518+
# comment, as in '/* comment */ <here> void foo() {...}'.
25152519
#
25162520
# 0: No change (default).
25172521
nl_comment_func_def = 0 # unsigned number

etc/uigui_uncrustify.ini

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ parameterOrder=ipo
1515
showHelpParameter=-h
1616
stringparaminquotes=false
1717
useCfgFileParameter="-c "
18-
version=Uncrustify-0.80.1
18+
version=Uncrustify-0.81.0
1919

2020
[Newlines]
2121
Category=0
@@ -2223,7 +2223,7 @@ ValueDefault=remove
22232223

22242224
[Sp Member]
22252225
Category=1
2226-
Description="<html>Add or remove space around the '.' or '-&gt;' operators.<br/><br/>Default: remove</html>"
2226+
Description="<html>Add or remove space around the '.' or '-&gt;' operators.<br/>also the c-sharp null-conditional operator '?.'<br/><br/>Default: remove</html>"
22272227
Enabled=false
22282228
EditorType=multiple
22292229
Choices=sp_member=ignore|sp_member=add|sp_member=remove|sp_member=force
@@ -3650,6 +3650,15 @@ TrueFalse=indent_ignore_bool=true|indent_ignore_bool=false
36503650
TrueFalseRegex=indent_ignore_bool\s*=\s*true|indent_ignore_bool\s*=\s*false
36513651
ValueDefault=false
36523652

3653+
[Indent Bool Nested All]
3654+
Category=2
3655+
Description="<html>Whether to indent lines that are nested in boolean expression one more level for each nesting</html>"
3656+
Enabled=false
3657+
EditorType=boolean
3658+
TrueFalse=indent_bool_nested_all=true|indent_bool_nested_all=false
3659+
TrueFalseRegex=indent_bool_nested_all\s*=\s*true|indent_bool_nested_all\s*=\s*false
3660+
ValueDefault=false
3661+
36533662
[Indent Ignore Arith]
36543663
Category=2
36553664
Description="<html>Whether to ignore the indentation of an arithmetic operator.</html>"
@@ -6201,7 +6210,7 @@ ValueDefault=0
62016210

62026211
[Nl Comment Func Def]
62036212
Category=4
6204-
Description="<html>The number of newlines between a function definition and the function<br/>comment, as in '// comment\n &lt;here&gt; void foo() {...}'.<br/><br/>0: No change (default).</html>"
6213+
Description="<html>The number of newlines between a function definition and the function<br/>comment, as in '/* comment */ &lt;here&gt; void foo() {...}'.<br/><br/>0: No change (default).</html>"
62056214
Enabled=false
62066215
EditorType=numeric
62076216
CallName="nl_comment_func_def="

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "uncrustify",
3-
"version": "0.80.1",
3+
"version": "0.81.0",
44
"description": "A highly configurable, easily modifiable source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA",
55
"main": "uncrustify",
66
"scripts": {

0 commit comments

Comments
 (0)