48 Commits

Author SHA256 Message Date
cb13d0596c Accepting request 1320394 from devel:tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1320394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=23
2025-11-28 15:53:09 +00:00
b4fa744e11 - update to 3.6.13:
* Fix indent of continued string literal as argument
  * Fix regression related to template delimters
  * Improved complex lambda body indentation
  * Fix regression related to diff markers
  * Fix comment recognition after macro definition
  * Fix indent of switch statements within structs
  * Fix Win32 build
  * Improved lambda body indentation
  * Ignore lines with git conflict markers
  * Replaced platform file functions by C++ filesystem library
  * Fix --mode parameter in generation script
  * disable old isInTemplate flag only within structs
  * Another approach to fix interpretation of closing nested templates as
  * Fix "--align-pointer=type" option for fundamental types in lambda parameter

OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=48
2025-11-20 21:38:36 +00:00
92e352f0d3 Accepting request 1267693 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1267693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=22
2025-04-07 15:38:06 +00:00
109673fc04 - update to 3.6.8:
* Adjust --break-blocks to break structs and functions only with all option
  * Fix space between pointer references with --align-pointer=type
  * Define <<< and >>> operators for Java only
  * Fix indentation of class modifiers within structs
  * Fix parsing of nested structs
  * Another approach to fix interpretation of closing nested templates as 
    operator
  * Fix indent of multiline strings with macros
- update to 3.6.7:
  * Add --error-on-changes option
  * Prevent --squeeze-ws of removing whitespace before comments
  * Adjust --pad-include to ignore macros in include directives
  * Adjust --pad-include section in the docs
  * Fix interpretation of closing nested templates as operator
  * Use standard filesystem API to retrieve absolute file paths
  * Add operator --preserve-ws
  * Disable --unpad-paren in structs for leading whitespace
  * Do not remove space after opening parens and align-pointer=type
  * Fix issue with --pad-oper and *= operand
- update to 3.6.6:
  * Fix indent after assignment operators (correct cause)
  * Adjust delete-empty-lines feature description
- update to 3.6.5:
  * Add option --accept-empty-list
  * Fix indent regression due to method extraction
  * Fix indent in blocks after assignment operators
  * Fix indent of multi line strings after preprocessor or comment sections
  * Fix indent after assignment operators
  * Fix --align-pointer=middle with existing whitespace

OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=46
2025-04-07 14:12:11 +00:00
1ab58476d0 Accepting request 1158916 from devel:tools
- update to 3.4.13:
  * fix comment indent after string macro with R suffix
  * do not break single line block after enum in mozilla mode
  * adjust cmake policy for new versions only
  * update man page path
  * add support for scikit-build-core
  * added "--pad-brackets-in" and "--pad-brackets-out" options
  * fixed indentation of initializer lists
  * fixed crash with "--add-braces=nested" applied to if-else blocks

- enable Java bindings
  +Fix _asm blocks not being identified as a block opener and the
  (LGPL-3.0)
- Initial packaging of astyle 1.23

OBS-URL: https://build.opensuse.org/request/show/1158916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=21
2024-03-18 15:46:36 +00:00
5915ad3a6a - update to 3.4.13:
* fix comment indent after string macro with R suffix
  * do not break single line block after enum in mozilla mode
  * adjust cmake policy for new versions only
  * update man page path
  * add support for scikit-build-core
  * added "--pad-brackets-in" and "--pad-brackets-out" options
  * fixed indentation of initializer lists
  * fixed crash with "--add-braces=nested" applied to if-else blocks
- enable Java bindings
  +Fix _asm blocks not being identified as a block opener and the
  (LGPL-3.0)
- Initial packaging of astyle 1.23

OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=44
2024-03-18 08:35:28 +00:00
555c24208b Accepting request 1142984 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1142984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=20
2024-01-31 22:55:05 +00:00
f335f83b5a Accepting request 1142717 from home:simonlm:branches:devel:tools
Update to version 3.4.11

OBS-URL: https://build.opensuse.org/request/show/1142717
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=42
2024-01-31 10:50:46 +00:00
65f6b4f8c5 Accepting request 1119715 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1119715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=19
2023-10-23 21:41:37 +00:00
Klaus Kämpf
f85aeafb5a Accepting request 1119377 from home:1Antoine1:branches:devel:tools
- Update to 3.4.10:
  * Fixed missing indent in function parameter list (gl#saalen/astyle#16).
- Changes of version 3.4.9:
  * Applied one wording for Objective-C in the docs.
  * Fixed more CS regressions (gl#saalen/astyle#16).
  * Fixed inserting space with combined "--pad-oper" and "--align-pointer" options (#557).
- Changes of version 3.4.8:
  * Fixed lambda broken brace after auto keyword (#554).
  * Fixed line break after comment in asm block (#226).
  * Fixed padding of multiply operator (#126).
  * Fixed indentation of method calls (#434).
  * Fixed empty line after closing while block (gl#saalen/astyle#18).
  * Added outer padding for emtpy parens pairs (gl#saalen/astyle#19).
  * Fixed more CS regressions (gl#saalen/astyle#16).
- Changes of version 3.4.6:
  * Added VS2022 project files (gl#saalen/astyle!3).
  * Fixed CS regressions (gl#saalen/astyle#16).
  * Added CS coalesce assignment operator (gl#saalen/astyle#17).
- Changes of version 3.4.1:
  * Fixed padding of & following a comma (#552).
  * Fixed indent of function declarations following access modifiers (#504).
  * Fixed indent of C# allocation blocks (#464).
  * Fixed indentation of comments after CS interpolation quotes (gl#saalen/astyle#16).

OBS-URL: https://build.opensuse.org/request/show/1119377
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=40
2023-10-23 17:06:20 +00:00
a2304fffce Accepting request 1093777 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1093777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=18
2023-06-20 14:48:17 +00:00
Klaus Kämpf
43b05057d4 Accepting request 1093600 from home:1Antoine1:branches:devel:tools
- Update to 3.4:
  * Fixed formatting of CS interpolation literals (gl#saalen/astyle#8).
  * Fixed false lambda recognition (gl#saalen/astyle#11).
  * Fixed indentation of member declarations (gl#saalen/astyle#10).
  * Fixed indentation of struct assignments (gl#saalen/astyle#12).
  * Added new option "--indent-lambda" to to enable new lambda recognition
    (gl#saalen/astyle#7).

OBS-URL: https://build.opensuse.org/request/show/1093600
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=38
2023-06-19 12:54:48 +00:00
6a4fb9165b Accepting request 1091380 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1091380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=17
2023-06-09 18:37:20 +00:00
0614043c5e Accepting request 1091329 from home:seife:branches:devel:tools
spec: add libastylej.rpmlintrc to please factory-auto check
Sorry, I did not think of the factory-auto check, I thought it was enough to mention it in changelog ;-)

OBS-URL: https://build.opensuse.org/request/show/1091329
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=36
2023-06-08 06:49:35 +00:00
6662be926d Accepting request 1091209 from home:seife:branches:devel:tools
bring back libastylej.so symlink to fix at least Arduino

OBS-URL: https://build.opensuse.org/request/show/1091209
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=35
2023-06-07 08:30:31 +00:00
4bd7232a5d Accepting request 1090443 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1090443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=16
2023-06-02 22:07:38 +00:00
8e75397eb4 Accepting request 1089459 from home:1Antoine1:branches:devel:tools
- Update to 3.3.1: Fix build.
- Remove astyle-3.3-std.patch: Fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/1089459
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=33
2023-06-02 08:09:44 +00:00
612f676110 Accepting request 1088831 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1088831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=15
2023-05-24 18:23:13 +00:00
Klaus Kämpf
abdc4c40de Accepting request 1088829 from home:1Antoine1:branches:devel:tools
- Update to 3.3:
  * The source code has been refactored to no longer use the std namespace
    globally.
  * Some features of "modern C++" are now supported, ie. lambda function
    arguments and array initializers with braces.
  * Two new options to remove superfluous whitespace and empty lines were
    added: "squeeze-ws" and "squeeze-lines=#" (parameter value is the number of
    empty lines to keep).
  * Two new options to add or remove whitespace around square brackets were
    added: "pad-brackets" and "unpad-brackets".
- Changes of 3.2:
  * Use C++11 feature.
  * New option "style=webkit": Similar to the Stroustrup brace style except the
    'else' keyword is attached to the previous closing bracket.
  * Various bugs fixes, especially causing reformatting the code in repeated
    runs.
  * Deprecated options have been removed.
- Install man page.
- Add astyle-3.3-std.patch: Fix build.
- Refresh spec file.

OBS-URL: https://build.opensuse.org/request/show/1088829
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=31
2023-05-24 12:22:59 +00:00
82c69a6eed Accepting request 739811 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/739811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=14
2019-11-06 12:53:10 +00:00
b996df6f9a Accepting request 739701 from home:RBrownSUSE:branches:devel:tools
Remove obsolete Groups tag (fate#326485)

OBS-URL: https://build.opensuse.org/request/show/739701
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=29
2019-10-17 14:10:37 +00:00
24a936e7e8 Accepting request 597091 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/597091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=13
2018-04-17 09:17:55 +00:00
Klaus Kämpf
d685c04673 Accepting request 597090 from CrossToolchain:avr
OBS-URL: https://build.opensuse.org/request/show/597090
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=27
2018-04-16 14:27:58 +00:00
Klaus Kämpf
599f1687c9 Accepting request 595587 from CrossToolchain:avr
OBS-URL: https://build.opensuse.org/request/show/595587
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=26
2018-04-16 08:33:18 +00:00
66238fe7a0 Accepting request 515318 from CrossToolchain:avr
- Prevent file conflicts on update: obsolete libastylej1

OBS-URL: https://build.opensuse.org/request/show/515318
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=25
2017-08-13 20:19:45 +00:00
43f74f052d Accepting request 510866 from CrossToolchain:avr
- Sync with astyle from CrossToolchain:avr
- fix typo in Source:
- build 'doc', not html symlink

OBS-URL: https://build.opensuse.org/request/show/510866
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=24
2017-07-17 07:55:49 +00:00
ec418e12fb Accepting request 510255 from home:michals:arduino
Build java library for Arduino

OBS-URL: https://build.opensuse.org/request/show/510255
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=23
2017-07-14 11:30:37 +00:00
6f45718bf3 - Small packaging cleanup
- Update to new upstream release 3.0.1 (boo#1044030):
  * Add new option "indent-after-parens".
  * Add new option "attach-closing-while".
  * Fix crash caused by certain class initializer formats.
  * Fix memory leak when using "indent-preproc-define".
  * Fix boundary conditions discovered by american fuzzy lop fuzzer.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=22
2017-06-13 16:24:29 +00:00
c5577dd5fe OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=21 2017-06-13 14:16:49 +00:00
239c975f18 - Small packaging clenaup
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=20
2017-06-13 13:49:06 +00:00
8e2b80415f Accepting request 503379 from home:siko1056:branches:openSUSE:Maintenance:6871
Update to astyle 3.0.1. Changelog fixed according to https://en.opensuse.org/openSUSE:Creating_a_changes_file_(RPM).

OBS-URL: https://build.opensuse.org/request/show/503379
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=19
2017-06-13 13:43:30 +00:00
b3e66d8f57 Accepting request 265565 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/265565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=12
2014-12-17 18:16:00 +00:00
817b4a47c5 Accepting request 265534 from home:posophe:branches:devel:tools
- Update to version 2.05.1
  + Fix incorrectly reporting files containing disabled formatting as
    being formatted.
  + Fix incorrect handling of quoted arguments in the options file (#321).
  + Fix error in identifying an enum return type as an enumeration (#322, 323).
  + Fix error in identifying an enum argument as an enumeration (#327).
  + Fix recognition of Qt keywords when used as variables in C++ (#329).
  + Fix recognition of a pointer in a C++ cast (#316).
  + Fix removing trailing whitespace after a changed pointer or reference cast.
- Changes from version 2.05
  +Add new bracket style option "style=vtk" (#155).
  +Add new option "indent-preproc-block" to indent blocks of preprocessor
   directives (#21, #114, #229, #242, #294).
  +Add new option, "dry-run", to run AStyle without updating the files
   (#184, #285).
  +Add new options, "html" (-!") and "html=###", to display the HTML
   help documentation in the default browser.
  +Add tags "*INDENT-OFF*" and "*INDENT_ON*" to disable formatting of
   source code blocks (#2, #47, #55, #78, #110, #176).
  +Add tag *NOPAD* to disable selected formatting on a single line.
  +Add '__attribute__ ((visibility ("default")))' to Linux exported functions.
  +Remove option "style=ansi" and make it depreciated (#146).
  +Remove fix for broken 'case' statements from release 2.02.1, Nov 21, 2011.
  +Improve Korean translation (#256).
  +Change shared libraries to include the version number as part
   of the file name (#264)
  +Change "help" display to stdout to allow piping and redirection (#63).
  +Change "version" display to stdout.
  +Change headers to include foreach, forever, Q_FOREACH, and Q_FOREVER
   (#98, #154).
  +Change compiler definition ASTYLE_NO_VCX (no Visual Studio exports)
   to ASTYLE_NO_EXPORTS.
  +Change shared library error handler argument from "char*" to
   "const char*".
  +Fix not recognizing noexcept, interrupt, and autoreleasepool as
   pre-command headers (#225, #259).
  +Fix formatting of C++11 uniform initializer brackets (#253, #257, #260, #284).
  +Fix to not automatically space pad C++11 uniform initializer brackets (#275).
  +Fix formatting of enums with leading commas (#159, #179, #270).
  +Fix formatting of logical && operator in class initializers (#290).
  +Fix flagging a 'const' variable as a 'const' method (#275).
  +Fix piping and redirection adding an extra character to the output (#245, #252, #305).
  +Fix "indent-modifiers" to attach class access modifiers to Horstmann style brackets.
  +Fix ASFormatter to correctly recognize the end of a C++ raw string literal (#261).
  +Fix to recognize C++11 "enum class" as an enum (#303).
  +Fix indent of C++11 "noexecpt" statements within a class (#260, #304).
  +Fix not resetting templateDepth when a template was not found (#295).
  +Fix formatting of multiplication in a block paren (#144).
  +Fix whitespace padding when formatting an rvalue references (#297).
  +Fix to recognize an rvalue reference without a name (#265).
  +Fix to not identify an operator overload method as a calculation (#296).
  +Fix concatenating multiplication with a pointer dereference (#291).
  +Fix recognition of a pointer dereference following a question mark (#213).
  +Fix extra space after a trailing reference type (#300).
  +Fix _asm blocks not being identified as a block opener and the 
   variable not cleared on exit (#163).
  +Fix indentation of line comments before a "class" opening bracket.
  +Fix indentation of line comments before a "namespace" opening bracket.
  +Fix isBracketType() method to correctly process a NULL_TYPE.
  +Fix unpad-paren to recognize additional variables (#43, #132, #143).
  +Fix indentation of C# "let" statements.
  +Fix a few omissions with "fill-empty-lines".
  +Fix file read to read 64K blocks of data.
  +Refactor to un-obfuscate (clarify) the code, and improve design
   and decomposition::
   * Extract class Utf8_16 from ASConsole.
   * Replace Linux dependency on iconv with a Utf8_16 class for ASLibrary.
   * Move global "using" statements to the astyle namespace in astyle.h and ASLocalizer.h.
   * Move shared library declarations from astyle.h to astyle_main.h.
   * Move indentable macros from ASEnhancer to ASResource and create static pairs.
   * Simplify ASBeautifier procedure to identify the colon (:) type.
   * Major refactoring in ASBeautifier to create separate variables for an enum, a
     class statement and a class initializer.
     This was needed to fix the processing of C++11 uniform initializers in a class initializer.
   * Minor changes to ASFormatter and ASBeautifier based on results of the Clang analyzer.
   * Change several methods in astyle_main to "const".

OBS-URL: https://build.opensuse.org/request/show/265534
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=17
2014-12-17 13:08:15 +00:00
Tomáš Chvátal
5d66f9a4fd Accepting request 207428 from devel:tools
Update astyle to version 2.04 (forwarded request 206591 from mvyskocil)

OBS-URL: https://build.opensuse.org/request/show/207428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=10
2013-11-18 12:08:21 +00:00
Tomáš Chvátal
9dc214c0bf Accepting request 206591 from home:netsroth:branches:devel:tools
Update astyle to version 2.04

OBS-URL: https://build.opensuse.org/request/show/206591
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=15
2013-11-18 10:07:35 +00:00
Stephan Kulow
227849d910 Accepting request 139607 from devel:tools
- update to version 2.02.1
  - please see the included notes.html and news.html for a list of
    changes in this release
- drop unnecesary patch astyle-1.24-cxxflags.patch
- package complete documentation

OBS-URL: https://build.opensuse.org/request/show/139607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=7
2012-10-29 19:02:06 +00:00
c042b7bf9b turn into url
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=13
2012-10-28 12:06:37 +00:00
a0dbd6e4d9 Accepting request 139601 from home:gberh
- update to version 2.02.1
  - please see the included notes.html and news.html for a list of
    changes in this release
- drop unnecesary patch astyle-1.24-cxxflags.patch
- package complete documentation

OBS-URL: https://build.opensuse.org/request/show/139601
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=12
2012-10-28 12:04:02 +00:00
Stephan Kulow
9f58ec9902 Accepting request 103512 from devel:tools
- convert license string to spdx format, use correct license
  (LGPL-3.0) 
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/103512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=5
2012-02-14 12:04:46 +00:00
5f1362bc49 - convert license string to spdx format, use correct license
(LGPL-3.0)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=9
2012-02-09 10:09:53 +00:00
Greg Kroah-Hartman
98f2a1bab8 Accepting request 82841 from home:jengelh:bl-a
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/82841
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=8
2011-09-20 15:55:04 +00:00
Stephan Kulow
7c94f7a079 osc copypac from project:devel:tools package:astyle revision:5
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=7
2011-08-04 08:38:34 +00:00
Stephan Kulow
7dceeb244e Accepting request 77110 from home:cwh:branches:devel:tools
Fixed filelist for Factory

OBS-URL: https://build.opensuse.org/request/show/77110
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=6
2011-08-03 09:45:59 +00:00
Stephan Kulow
5fa3702466 prepare_spec
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=5
2010-11-30 16:29:09 +00:00
OBS User autobuild
992790c7d1 Autobuild autoformatter for 53066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=2
2010-11-18 17:05:01 +00:00
Ruediger Oertel
30e424bb0a Accepting request 53066 from devel:tools
Accepted submit request 53066 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/53066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/astyle?expand=0&rev=1
2010-11-18 17:04:56 +00:00
Pavol Rusnak
9c9ee21dcc osc copypac from project:openSUSE:Factory:Contrib package:astyle revision:3
OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=2
2010-11-15 20:42:06 +00:00
Philipp Thomas
1aa173d79c OBS-URL: https://build.opensuse.org/package/show/devel:tools/astyle?expand=0&rev=1 2010-04-30 10:25:54 +00:00