Commit Graph

20 Commits

Author SHA256 Message Date
Michael Vetter
12d9ebcd9a Accepting request 1010552 from home:firstyear:branches:utilities
- Update vendored dependencies
- Add _constraints to prevent OBS workers randomly failing

OBS-URL: https://build.opensuse.org/request/show/1010552
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=37
2022-10-14 08:13:15 +00:00
Michael Vetter
2292cc22c4 Accepting request 1003476 from home:jcronenberg
- Update to version 0.22.1:
  - v0.22.1
    * Bugfixes
      - Bring back pre-processing of ANSI escape characters to so that some
        common bat use cases starts working again. See #2308 (@Enselic)
  - v0.22.0
    * Features
      - Make the default macOS theme depend on Dark Mode.
        See #2197, #1746 (@Enselic)
      - Support for separate system and user config files.
        See #668 (@patrickpichler)
    * Bugfixes
      - Prevent fork nightmare with PAGER=batcat. See #2235 (@johnmatthiggins)
      - Make --no-paging/-P override --paging=... if passed as a later arg,
        see #2201 (@themkat)
      - --map-syntax and --ignored-suffix now works together, see #2093 (@czzrr)
      - Strips byte order mark from output when in non-loop-through mode.
        See #1922 (@dag-h)
    * Other
      - Relaxed glibc requirements on amd64, see #2106 and #2194 (@sharkdp)
      - Improved fish completions. See #2275 (@zgracem)
      - Stop pre-processing ANSI escape characters. Syntax highlighting on ANSI
        escaped input is not supported. See #2185 and #2189 (@Enselic)
    * Syntaxes
      - NSE (Nmap Scripting Engine) is mapped to Lua, see #2151 (@Cre3per)
      - Correctly color fstab dump and pass fields, see #2246 (@yuvalmo)
      - Update Command Help syntax, see #2255
      - Julia: Fix syntax highlighting for function name starting with struct,
        see #2230
      - Minor update to LiveScript, see #2291

OBS-URL: https://build.opensuse.org/request/show/1003476
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=35
2022-09-14 13:18:57 +00:00
Michael Vetter
47dc00d092 Accepting request 980643 from home:jbaier_cz:branches:utilities
* Update bat to version 0.21.0
* Bump minimal rust version to 1.60 (weak-dep-features needed)

OBS-URL: https://build.opensuse.org/request/show/980643
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=33
2022-06-07 14:31:15 +00:00
Michael Vetter
d82f55fa82 Accepting request 970606 from home:susnux:branches:utilities
- Update to version 0.20.0
  * New style component header-filesize to show size of the displayed
    file in the header.
  * Use underline for line highlighting on ANSI
  * Fix bash completion on bash 3.x and bash-completion 1.x.
- Update to version 0.19.0
  * Reduce startup time in loop-through mode by 90%.
  * Load themes lazily to make bat start 25% faster when disregarding
    syntax load time.
  * Python syntax highlighting no longer suffers from abysmal performance
    in specific scenarios.
  * Fix for poor performance when ANSI escape sequences are piped to bat
  * Fix for incorrect handling of ANSI escape sequences when
    using --wrap=never
  * Load custom assets as fast as integrated assets
  * Support for x:-delta (minus) syntax in line ranges
  * Support for --ignored-suffix argument.
  * $BAT_CONFIG_DIR is now a recognized environment variable. It has
    precedence over $XDG_CONFIG_HOME
  * Support for x:+delta syntax in line ranges (e.g. 20:+10)
  * Add new --acknowledgements option that gives credit to theme and
    syntax definition authors
  * Fix: First line not shown in diff context.
  * Fix: Do not ignore syntaxes that handle file names with
    a *.conf extension.

OBS-URL: https://build.opensuse.org/request/show/970606
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=31
2022-04-18 18:21:30 +00:00
Michael Vetter
7bf1877c65 Accepting request 922257 from home:firstyear:branches:utilities
- Replace rust-packaging with cargo-packaging

OBS-URL: https://build.opensuse.org/request/show/922257
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=30
2021-10-04 08:28:19 +00:00
Michael Vetter
2e93f4803b Accepting request 912887 from home:jubalh:branches:utilities
- Update to f3d53b to fix build on Tumbleweed because of Rust 1.54
    See https://github.com/sharkdp/bat/issues/1796
  * Update git2 dependency to fix incompatibility with Rust 1.54
  * Reduce startup time in loop-through mode with 80%-90%
  * HighlightingAssets: Move out fn get_integrated_*set() to module scope
  * Support a hidden arg --no-custom-assets that skips loading assets from the cache
  * HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable
  * HighlightingAssets::get_extension_syntax(): Split up into smaller methods
  * Make loading of cached assets closer in performance to integrated assets
  * Add Enselic in FUNDING.yml
  * Update battest.py
  * Add `rs` identifier for Rust code blocks in Markdown
  * Update CHANGELOG
  * Add groff syntax
  * Add custom FUNDING.yml
  * HighlightingAssets: Introduce private fn new() helper
  * HighlightingAssets: Encapsulate syntax_set behind a getter
  * De-duplicate some themes.bin and syntaxes.bin related code
  * Fix typo in README

- Update to version 0.18.2:
  * Add note on vulnerability reporting, closes #1473
  * Upgrade CHANGELOG with security vulnerability notice
  * Update Julia syntax test
  * Update Julia syntax, closes #1692
  * Update assets
  * Run cargo fmt
  * Bump version to v0.18.2
  * Use resolved path for --diagnostic as well
  * Fix for Windows: do not run binaries from CWD

OBS-URL: https://build.opensuse.org/request/show/912887
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=29
2021-08-18 11:24:31 +00:00
Dany Marcoux
d235bde740 Accepting request 899909 from home:iDesmI:branches:utilities
- Rewritten specfile
- Update to version 0.18.1:
  * Update binary assets
  * Bump version, update dependencies
  * Updated CHANGELOG
  * Bump assets/syntaxes/02_Extra/Lean from `824213d` to `29a03a8`
  * Bump serde from 1.0.124 to 1.0.125
  * Bump bugreport from 0.3.0 to 0.4.0
  * Bump assets/syntaxes/02_Extra/FSharp from `c18616d` to `9e4645c`
  * add warning highlighting to log file syntax definition
  * add word boundaries to log syntax highlighting
  * Add independent log syntax
  * improve syslog syntax
  * replace Syslog dependency with a custom syntax
  * add example syslog file for highlighting tests
  * Revert "Update of themes.bin that adds Dark+"
  * Update of themes.bin that adds Dark+
  * Add "Visual Studio Dark+" theme to vec of themes
  * Add Dark+ theme

OBS-URL: https://build.opensuse.org/request/show/899909
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=27
2021-06-16 09:24:39 +00:00
Dany Marcoux
c27487295a Accepting request 881305 from home:namtrac:branches:utilities
- Update to version 0.18.0
  * Features
    - Use a pager when bat --list-languages is called, see #1394 (@stku1985)
  * Bugfixes
    - If the last line doesn't end with a newline character,
      don't add it if --style=plain, see #1438 (@Enselic)
    - Only print themes hint in interactive mode (bat --list-themes),
      see #1439 (@rsteube)
    - VimL syntax highlighting fix, see #1450 (@esensar)
    - Print an 'Invalid syntax theme settings' error message if a custom
       theme is broken, see #614 (@Enselic)
    - If plain mode is set and wrap is not explicitly opted in,
      long lines will no be truncated, see #1426
    - If PAGER (but not BAT_PAGER or --pager) is more or most,
      silently use less instead to ensure support for colors, see #1063 (@Enselic)
    - If PAGER is bat, silently use less to prevent recursion.
      For BAT_PAGER or --pager, exit with error, see #1413 (@Enselic)
    - Manpage highlighting fix, see #1511 (@keith-hall)
    - BAT_CONFIG_PATH ignored by bat if non-existent, see #1550 (@sharkdp)
  * Other
    - Performance improvements, see #1421 (@LovecraftianHorror)
    - Added a new --diagnostic option to collect information for
      bug reports, see #1459 (@sharkdp)
    - Modified default theme colors to differentiate between a JSON key
      and a string value, see #1400 (@keith-hall)
    - Upped min required Rust version to 1.42
  * Syntaxes
    - Added Zig syntax, see #1470 (@paulsmith)
    - Added Lean syntax, see #1446 (@Julian)

OBS-URL: https://build.opensuse.org/request/show/881305
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=25
2021-03-25 13:07:38 +00:00
Dany Marcoux
f149109cee Accepting request 853660 from home:azmodude:branches:utilities
Version bump to 0.17.1

OBS-URL: https://build.opensuse.org/request/show/853660
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=23
2020-12-08 09:54:33 +00:00
Dany Marcoux
20f16ba04f Accepting request 810631 from home:polslinux:branches:utilities
- Update to 0.15.4
  * Added missing Solarized themes
  * Fixed highlighting bug in Haskell source files
  * Cannot run bat with relative paths
  * bat mishighlights Users that start with digits in SSH config
  * --map-syntax doesn't work with names provided through --file-name
  * Fix syntax detection for files called 'rails'
  * Fix potential errors with syntax detection for symlinked files
  * Fix highlighting of Markdown files

OBS-URL: https://build.opensuse.org/request/show/810631
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=21
2020-06-02 07:32:27 +00:00
Dany Marcoux
d4d2cc00b6 Accepting request 800149 from home:mrey:branches:utilities
- Update to version 0.15.0
  * Features
    - This release adds a new --diff/-d option that can be used to
      only show lines surrounding Git changes, i.e. added, removed
      or modified lines. The amount of additional context can be
      controlled with --diff-context=N. See #23 and #940
  * Bugfixes
    - Error message printed in the middle of the output for another
      file, see #946
      Performance improvements when using custom caches (via bat
      cache --build): the bat startup time should now be twice as
      fast.
  * Themes
    - Updated version of the Solarized dark/light themes, see #941
  * bat as a library
    - There are a few changes in the "low level" API (the Config
      struct has changed andthe error handler needs a new &mut dyn
      Write argument). The high-level API is not affected.
- Changes from version 0.14.0
  * Features
    - Added a new --file-name <name>… option to overwrite the
      displayed filename(s) in the header. This is useful when
      piping input into bat. See #654 and #892.
    - Added a new --generate-config-file option to create an
      initial configuration file at the right place. See #870.
  * Bugfixes
    - Performance problems with C# source code have been fixed, see
      #677
    - Performance problems with Makefiles have been fixed, see #750
    - Fix bug when highlighting Ruby files with unindented heredocs

OBS-URL: https://build.opensuse.org/request/show/800149
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=19
2020-05-05 07:15:01 +00:00
Dany Marcoux
9894b56712 Accepting request 792692 from home:dmarcoux
- Update to version 0.13.0
  * Beginning with this release, bat can be used as a library
  * (Breaking change) Glob-based syntax mapping
  * Many bugfixes and new syntaxes
  * And more... see upstream
- Pass "no-track" option to "cargo install" to avoid generating
  ".crates2.json"

OBS-URL: https://build.opensuse.org/request/show/792692
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=17
2020-04-09 10:43:52 +00:00
Dany Marcoux
ff1dc7270a Accepting request 738624 from home:dmarcoux
- Instruct packager to install cargo directly from the cargo package

OBS-URL: https://build.opensuse.org/request/show/738624
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=14
2019-10-15 13:24:20 +00:00
Dany Marcoux
3bc7556b55 Accepting request 734414 from home:luke_nukem:branches:utilities
- Use `pwd`/.cargo for vendor config so that CARGO_HOME export is
  not required.

OBS-URL: https://build.opensuse.org/request/show/734414
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=13
2019-10-01 21:24:40 +00:00
Dany Marcoux
8112623fe7 Accepting request 732986 from home:dmarcoux
- Update to version 0.12.1
  * Features
    Binary file content can now be viewed with bat -A
    bat can now be used as a man pager
    Add new style component to separate multiple '--line-range'
    Added '-L' as an alias for '--list-languages'
  * Bugfixes
    Output looks unbalanced when using '--style=grid,numbers' without 'header'
    Issues with filenames starting with "cache"
    '--terminal-width -10' is parsed incorrectly
  * New syntaxes
    Emacs Org mode
    requirements.txt
    DotENV '.env'
    SSH config
    And more... see upstream
- Set directory for 'git clone' in README.packager
- Add 'clang' to build dependencies

OBS-URL: https://build.opensuse.org/request/show/732986
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=12
2019-09-24 15:36:12 +00:00
Dany Marcoux
58fb6503c1 Accepting request 703433 from home:dmarcoux
- Update to version 0.11.0
  * Features
    New color themes: ansi-light, ansi-dark and base16
    The -p/--plain option can be used twice (typically -pp). First -p switches --style to "plain", second disables pager.
  * Bugfixes
    Do not replace arguments to less when using --pager
    Empty files are (once again) printed with a single header line
    --terminal-width=0 is now disallowed
  * New syntaxes
    Fish
    Update for F#

OBS-URL: https://build.opensuse.org/request/show/703433
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=10
2019-05-16 11:31:32 +00:00
Dany Marcoux
0d3d6256fb Accepting request 699676 from home:dmarcoux
- Run spec-cleaner
- Remove double %setup macro
- Simplify tar command in README.packager

OBS-URL: https://build.opensuse.org/request/show/699676
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=8
2019-04-30 13:19:12 +00:00
Michael Vetter
d63e9f5c4b Accepting request 674133 from home:dmarcoux
- Add README.packager for instructions on how to generate vendor.tar.xz
- Update to version 0.10.0
  * Features
    New option --highlight-line <N>
    New option -A/--show-all to show and highlight non-printable characters (in analogy to GNU cats option)
    New option --pager to configure the pager
    Support for a configuration file (https://github.com/sharkdp/bat#format)
    Support for custom config file path via --config-file option or BAT_CONFIG_PATH environment variable
    Support for custom syntax mappings via the -m/--max-syntax option
    Support pager command-line arguments in PAGER and BAT_PAGER
    The --terminal-width option can now also accept offsets
    Support for multiple --line-range arguments
    Encoding support for UTF-16LE and UTF-16BE
  * Changes
    Completely disabled the generation of shell completion files
    Report the name of missing files
    Don't start pager if file doesn't exist
    Rename bat cache --init to bat cache --build
    Move the --config-dir and --cache-dir options from bat cache to bat and hide them from the help text
    The default tab-width has been set to 4
  * New syntaxes supported
    Robot framework, Twig, .desktop files, AsciiDoc, Assembly, Jsonnet,
    Log files, Protobuf and ProtobufText, Terraform and Varlink

OBS-URL: https://build.opensuse.org/request/show/674133
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=5
2019-02-12 15:07:55 +00:00
Ismail Dönmez
ea4060be63 Accepting request 639555 from home:jengelh:branches:utilities
- Fix the description's grammar.

OBS-URL: https://build.opensuse.org/request/show/639555
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=3
2018-10-02 10:09:13 +00:00
Michael Vetter
37014fa6e5 Accepting request 639027 from home:dmarcoux
New devel package

OBS-URL: https://build.opensuse.org/request/show/639027
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=1
2018-09-28 15:16:54 +00:00