71 Commits

Author SHA256 Message Date
Antoine Belvire
29cb01ffc2 Accepting request 1319248 from home:1Antoine1:branches:devel:tools
- Update to version 4.18:
  * Updated astyle lib to version 3.6.13
  * Fixed undefined variable in shellscript definition
- Changes from version 4.17:
  * Updated astyle lib to version 3.6.12
  * Updated some language definitions
  * Added fea.lang (gl#saalen/highlight#258)
  * Fixed creation of unique output filenames in batch mode
  * Improved LSP compatibility
  * CLI: improved string length validation in service mode
  * GUI: fixed file resource handling
- Changes from version 4.16:
  * Updated astyle lib to version 3.6.9
  * Fix shell script parenthesis recognition (gl#saalen/highlight#254)
  * Updated AWK, C, Go and Python language definitions
  * Added README_FR.adoc
  * Added shell script and git config file extensions
  * GUI: adjusted cmake build script to improve Qt build target handling
  * GUI: updated Qt UI translations
- Changes from version 4.15:
  * Updated astyle lib to version 3.6.6
  * Fixed C++ raw string recognition (gl#saalen/highlight#252)

OBS-URL: https://build.opensuse.org/request/show/1319248
OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=142
2025-11-22 13:33:13 +00:00
2d481365ff Accepting request 1277051 from home:simonlm:branches:devel:tools
Update to version 4.14

OBS-URL: https://build.opensuse.org/request/show/1277051
OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=140
2025-05-15 08:51:43 +00:00
Antoine Belvire
a9f59c6b14 Accepting request 1228131 from home:simonlm:branches:devel:tools
Update to version 4.13

OBS-URL: https://build.opensuse.org/request/show/1228131
OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=138
2024-12-04 08:06:35 +00:00
Antoine Belvire
65013f07d1 - Update to version 4.12:
* Updated astyle lib to version 3.4.16.
  * Removed `using namespace std;` in header files
    (gl#saalen/highlight!147).
  * Added `-webkit-user-select` to HTML line number style
    (gl#saalen/highlight#214).
  * Added plug-in outhtml-focus.lua.
  * Updated lsp.conf to include metals and clojure-lsp
    configurations.
  * Fixed Yaml URL recognition.
  * Fixed Rust raw literal recognition (gl#saalen/highlight#187).
  * Fixed Factor comment recognition (gl#saalen/highlight#239).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=136
2024-05-25 16:22:45 +00:00
Antoine Belvire
92be1c0fa2 - Update to version 4.11:
* Updated astyle lib to version 3.4.13.
  * Updated java definition (gl#saalen/highlight#244).
  * Updated solidity definition (gl#saalen/highlight#217).
  * Fix backslash symbol in man page.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=134
2024-03-20 19:15:38 +00:00
Antoine Belvire
fd2bc4a9f1 - Update to version 4.10: Update astyle lib to version 3.4.10.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=132
2023-10-21 19:10:29 +00:00
Antoine Belvire
39b492e485 - Update to version 4.9:
* Updated astyle lib to version 3.4.9.
  * Added support for Elm (gl#saalen/highlight#237).
  * Added support for Factor (gl#saalen/highlight#239).
  * Added support for Cpp2.
  * Updated c.lang to include module keywords.
  * Fixed Lua nested string deprecation error
    (gl#saalen/highlight#238).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=130
2023-10-19 12:38:42 +00:00
Antoine Belvire
6769c11730 - Update to version 4.8:
* Updated astyle lib to version 3.4.6
  * Moved old yaml.lang to yaml-ansible.lang and added a new yaml
    definition (gl#saalen/highlight#235).
  * Omit size property in BBCode output if `--fragment` is set
    (gl#saalen/highlight#234).
  * Allowed font size unit with `--font-size` for HTML and ODT
    output (gl#saalen/highlight!145).
  * GUI: Updated JP translation (gl#saalen/highlight!144).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=128
2023-08-26 22:12:20 +00:00
Antoine Belvire
93e4b6ac6f - Update to version 4.7:
* Updated astyle lib to version 3.4.1.
  * CLI: Fixed member variable initialization.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=126
2023-07-17 23:01:47 +00:00
Antoine Belvire
452d718b0b - Update to version 4.6:
* Added  `--service-mode` option to run highlight as long running
    process (gl#saalen/highlight!140).
  * Added extras/highlight-service.py as an example for the service
    mode.
  * Updated astyle lib to version 3.3.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=124
2023-05-23 22:38:12 +00:00
Antoine Belvire
b8ebf8ba84 - Update to version 4.5:
* Added support for Hare.
  * Fixed `--no-trailing-nl` option for LaTeX output
    (gl#saalen/highlight#216).
  * Fixed typos in rnc.lang, spn.lang and znn.lang
    (gl#saalen/highlight!139).
  * Fixed missing ngerman package for `--replace-quotes` option
    (gl#saalen/highlight#222).
  * Fixed quotes highlighting in XML (gl#saalen/highlight#226).
  * Updated file extension lists (gl#saalen/highlight#227).
  * Updated astyle lib to version 3.2.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=122
2023-03-15 21:29:48 +00:00
Antoine Belvire
180265dbc1 - Update to version 4.4:
* Added support for Zig.
  * Added `Legacy` option in lsp.conf to add support for LSP
    servers without capabilities report.
  * Removed apidocs target in makefile (gl#saalen/highlight#213).
  * CLI: Added `--ls-legacy` option.
  * GUI: Added legacy checkbox in the LSP section.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=120
2022-11-12 17:32:31 +00:00
Antoine Belvire
cb64091b88 - Update to version 4.3:
* Added support for Carbon.
  * Added support for Fortran77 star comments
    (gl#saalen/highlight#208).
  * Added support for PowerShell block comments
    (gl#saalen/highlight#210).
  * Fixed Python formatted string pattern
    (gl#saalen/highlight#212).
  * Added new shell completion generation script
    (gl#saalen/highlight!137).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=117
2022-09-28 19:39:19 +00:00
Antoine Belvire
4114f49734 - Create a common subpackage for architecture-independent files
required by both cli and gui applications.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=115
2022-03-23 14:25:27 +00:00
Antoine Belvire
aea0be8ae5 Cosmetic fixes in changelog
OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=114
2022-03-23 00:44:22 +00:00
Antoine Belvire
d3055a7d2a Fix typo in changelog
OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=113
2022-03-23 00:39:03 +00:00
Antoine Belvire
0781529357 - Update to version 4.2:
- Added support for Critic markup (gl#saalen/highlight#197).
  - Added support for jam/ham (gl#saalen/highlight#196).
  - Added support for PureScript.
  - Added support for Nix (gl#saalen/highlight#200).
  - Added ino file mapping / Arduino C (gl#saalen/highlight#201).
  - Fixed RTF page color attributes (gl#saalen/highlight#195).
  - Fixed identifier parsing in yaml.lang (gl#saalen/highlight#190).
  - Fixed symbol parsing in lisp.lang 'gl#saalen/highlight#198).
  - Fixed string parsing in csharp.lang (gl#saalen/highlight#199).
  - Fixed string parsing in conf.lang (gl#saalen/highlight#203).
  - Added make target `install-lib-shared` to install shared lib
    (gl#saalen/highlight#202).
  - GUI: Added Japanese translation.
  - GUI: Disabled floating panel (state restore fails).
- Remove useless dependency of gui on cli.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=112
2022-03-23 00:31:09 +00:00
Antoine Belvire
91c43c4102 - Update to version 4.1:
* Improved handling of Custom theme attributes
    (gl#saalen/highlight#182).
  * Fixed wrong color code in edit-kwrite.theme.
  * Added rng file mapping.
  * Improved Lisp highlighting.
  * GUI: Fixed highlighting options tab title.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=110
2021-05-12 22:50:09 +00:00
Antoine Belvire
413df9d727 Accepting request 881676 from home:1Antoine1:branches:devel:tools
- Update to version 4.0.
  * Renamed `std` style name to `def`.
  * Version and README updates.
- Changes from version 4.0.beta7:
  * Removed `extras/web_plugins`.
- Changes from version 4.0.beta6:
  * Added user-select default property to HTML line number style.
- Update to version 4.0.beta5:
  * Revised color themes
- Update to version 4.0.beta4:
  * Added two more keyword styles for default themes
  * Added Custom theme attributes for Plain TeX, LaTeX, SVG and
    Pango
  * Enabled syntax message output with `--ls-syntax-error`
  * GUI: enabled syntax error checkbox
- Changes from version 4.0.beta3:
  * Added Custom theme attribute
  * Enabled inline stylesheets with `--ls-hover`
  * Added Error and Hover theme properties
  * Enabled syntax error highlighting with `ls-semantic`
- Changes from version 4.0.beta2:
  * Improved LSP message handling
  * Added delay LSP parameter
  * Added LSP semantic token styles to base16 themes
  * CLI: Enabled `--ls-semantic` option
- Changes from version 4.0.beta1:
  * Added support for the language server protocol
  * Added new configuration file lsp.conf
  * CLI: Added `ls-profile`, `--ls-workspace`,`--ls-hover`
  * CLI: Deprecated `--start-nested`, `--reformat=user`,
    `--reformat-option`, `--base16`, `--delim-cr`, `--plug-in-read`
  * GUI: Added LSP configuration tab

OBS-URL: https://build.opensuse.org/request/show/881676
OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=108
2021-03-27 20:18:33 +00:00
Antoine Belvire
1d73e860b6 - Update to version 3.62:
* Fixed `--list-scripts` output.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=106
2021-02-19 21:48:09 +00:00
Antoine Belvire
d7a39b4527 - Update to version 3.61:
* Added `--syntax-supported` option
  * Fixed indentation of Plain TeX output
- Drop makefile patches since build can actually be configured
  without them:
  * highlight-3.45-fix-doc-dir.patch
  * highlight-3.59-use_optflags.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=103
2021-02-17 22:43:32 +00:00
Antoine Belvire
8629bd4b32 - Update to version 3.60:
* Improved PHP 8 syntax support.
  * Added Emacs Org-Mode support (gl#saalen/highlight#174).
  * Fixed single argument and truecolor output of mark_lines.lua
    plug-in (gl#saalen/highlight#164).
  * Added lineno and column parameters to Decorate hook.
  * LIB: Moved CodeGenerator::readUserStyleDef and
    getStyleDefinition to public (gl#saalen/highlight#173).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=101
2020-12-21 19:11:55 +00:00
Antoine Belvire
58722cc3e1 - Update to version 3.59:
* HTML output: Added `white-space: pre-wrap` to pre tag CSS.
  * Updated mark_lines.lua plug-in accept a line range as input
    parameter and output xterm256 terminal sequences.
  * Improved Ruby code folding of the outhtml_codefold plug-in.
  * Updated astyle lib to rev 672.
  * Added support for reStructured Text (gl#saalen/highlight#170).
  * Added support for Rego (openpolicyagent.org).
  * Added `outhtml_copy_clipboard.lua` plugin.
  * CLI: Adapted default xterm256/truecolor theme to terminal
    background colour.
  * CLI: Adapted ANSI line numbers to terminal background colour
    (gl#saalen/highlight#172).
  * CLI: Fixed segfault if the user home directory cannot be
    determined (gl#saalen/highlight#171).
  * GUI: Initial font set to Monospace.
  * GUI: Replaced highlight.xpm by highlight.png icon.
- Rebase optflags patch:
  * Remove highlight-3.58-use_optflags.patch.
  * Add highlight-3.59-use_optflags.patch.
- Add hicolor-icon-themes as build requirement: Required since move
  of highlight-gui icon.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=99
2020-11-14 15:17:56 +00:00
Antoine Belvire
8e8df017ba - Update to version 3.58:
* Improved `--force` fallback argument handling
    (gl#saalen/highlight#163).
  * Added C++ attribute syntax support.
  * Added Lua fuction `StoreValue` to set and retrieve information
    across Lua states.
  * Added `extras/eclipse-themes/eclipse_color_themes.py` script to
    retrieve themes from eclipsecolorthemes.org.
  * Added support for Web Assembly Text.
  * Updated mark_lines.lua to output 16m terminal sequences
    (gl#saalen/highlight#164).
  * Fixed issues in bash.lang (gl#saalen/highlight#161).
  * Fixed Bash heredoc highlighting in bash_functions.lua
    (gl#saalen/highlight#156).
  * CLI: `highlight --version -q` only prints the version number.
  * GUI: Added theme contrast indicator.
- Rebase optflags patch:
  * Remove highlight-3.53-use_optflags.patch.
  * Add highlight-3.58-use_optflags.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=97
2020-09-09 22:20:21 +00:00
Antoine Belvire
8c53ff0a46 - Update to version 3.57:
* Added support for Haml (gl#saalen/highlight#140).
  * Added support for Wren.
  * Added Lua function `OverrideParam`.
  * Fixed regression in xterm256 or truecolor output
    (gl#saalen/highlight#152).
  * Fixed `--list-scripts` with read-only language definitions
    (gl#saalen/highlight#154).
  * Improved several language definitions.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=95
2020-05-15 10:57:11 +00:00
Antoine Belvire
34e6ae487a - Update to version 3.56:
* Added support for Sequence Alignment Maps (SAM files).
  * Added empty-file mode to --no-trailing-nl
    (gl#saalen/highlight#147).
  * Fixed issue with --syntax-by-name waiting for stdin
    (gl#saalen/highlight#151).
  * Fixed issue with --syntax reading matching files in the
    current working directory (gl#saalen/highlight#151).
  * Fixed string parsing in lisp.lang (gl#saalen/highlight#150).
  * Fixed output of UTF-8 text in xterm256 or truecolor output
    (gl#saalen/highlight#152).
  * Fixed regex in js.lang.
  * Fixed calculation of testcase markers with UTF-8 input.
  * Allowed number literals with underscores in Java, Scala, D,
    Julia, C#, Perl and Ada definitions.
  * Added Nord theme.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=93
2020-04-08 18:10:14 +00:00
Antoine Belvire
1560f53f67 - Update to version 3.55:
* Improved handling of empty files in xterm256 and truecolor
    output (gl#saalen/highlight#147).
  * Added EncodingHint attributes to filetypes.conf and language
    definitions (gl#saalen/highlight#141).
  * CLI: Allowed file paths as --theme and --syntax argument
    (gl#saalen/highlight#145).
  * GUI: Removed deprecated QTime API call.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=91
2020-01-29 19:50:13 +00:00
Antoine Belvire
7d5f4930b7 - Update to version 3.54:
* Fixed default colour output in BBCode
    (gl#saalen/highlight#134).
  * Fixed corner case in sh.lang.
  * Fixed syntax tests with UTF-8 input (gl#saalen/highlight#123).
  * Added support for Bash in outhtml_codefold.lua plug-in.
  * Added ballerina.lang.
  * Added block strings to java.lang.
  * Added author hints in themes and language definitions.
  * Added C++20 reserved words in c.lang.
  * Added editorconfig file and validated all files accordingly.
  * CLI: Fixed --list-scripts with -d or HIGHLIGHT_DATADIR env
    variable (gl#saalen/highlight#139).
  * GUI: Removed AsciiDoc instruction lines from the README popup
    window.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=89
2019-11-11 19:56:10 +00:00
Antoine Belvire
3f1b9d97d1 - Use lang_package macro for highlight-gui-lang declaration.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=88
2019-08-16 17:16:57 +00:00
Antoine Belvire
17afca6551 - Update to version 3.53:
* Fixed out-of-range exception with repeated AddKeyword calls.
  * Added KeywordFormatHints, Priority and Constraints elements to
    syntax definitions.
  * Added Lua function AddPersistentState
    (gl#saalen/highlight#112).
  * Renamed md.lang to markdown.lang.
  * Added Fish syntax definition.
  * Makefile: added _FILE_OFFSET_BITS=64 flag.
  * CLI: added optional fallback syntax to --force
    (gl#saalen/highlight#126).
  * CLI: added option --max-size (gl#saalen/highlight#127).
  * GUI: added multibyte path trace window.
  * GUI: fixed superfluous creation of the same stylesheet file.
- Rebase optflags patch:
  * Remove highlight-3.52-use_optflags.patch.
  * Add highlight-3.53-use_optflags.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=86
2019-08-07 12:02:09 +00:00
Antoine Belvire
3e62753462 - Fix build instability (boo#1142155).
OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=84
2019-07-19 18:17:13 +00:00
Antoine Belvire
d313c49392 - Update to version 3.52:
* Added negation `~` to test state indicators
    (gl#saalen/highlight#122).
  * Added support for Hugo.
  * Added 5 duotone themes.
  * CLI: fixed segfault with `--force` (gl#saalen/highlight#125).
  * GUI: limited font selection to monospace fonts
    (gl#saalen/highlight#124).
- Rebase optflags patch:
  * Remove highlight-3.42-use_optflags.patch.
  * Add highlight-3.52-use_optflags.patch.
- Remove obsolete conditionals.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=81
2019-05-29 06:26:59 +00:00
Antoine Belvire
0018b5b3b3 - Update to version 3.51:
* SVG output: Added `white-space: pre` in styles.
  * HTML output: Replaced ' by ' (deb#927410).
  * HTML output: Fixed index file format (missing close tags).
  * CLI: Moved syntax recognition functions to DataDir class.
  * CLI: Added regular expressions and default false values to
    --verbose output.
  * CLI: Fixed `--list-cat` without `--list-scripts`
    (gl#saalen/highlight#107).
  * CLI: Added optional argument to `--base16`
    (gl#saalen/highlight#113).
  * CLI: Added default base16 themes (gl#saalen/highlight#113).
  * CLI: Added `--isolate` option (gl#saalen/highlight#118).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=79
2019-05-18 07:58:36 +00:00
Antoine Belvire
634fd039d2 - Update to version 3.50:
* Added lineno, column parameters to OnStateChange hook.
  * Added support for Crystal.
  * Added support for Slim.
  * Fixed several typos in documentaion and manpages.
  * CLI: Added `--syntax-by-name` option.
  * CLI: Removed deprecated `--list-langs` and`--list-themes`
    options.
  * GUI: Added terminal sequence output options
    (gl#saalen/highlight#110).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=77
2019-03-30 08:37:33 +00:00
Antoine Belvire
a1afeada3b - Update to version 3.49:
* Fixed more problems with syntax test indicators reporting wrong
    states (gl#saalen/highlight#102).
  * Added support for Meson, Solidity, TOML and Terraform.
  * Improved Perl and Yaml highlighting.
  * Added Categories field to all config files.
  * CLI: added category info in --list-scripts output.
  * CLI: added --list-cat option (gl#saalen/highlight/99).
  * CLI: added optional topic parameter to --help.
  * GUI: added theme category selection.
  * GUI: display categories of selected syntax or theme.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=75
2019-02-08 07:26:22 +00:00
Antoine Belvire
133ce889ac - Update to version 3.48:
* Fixed --list-scripts abortion with Fedora default compilation
    options (gl#saalen/highlight#84).
  * Fixed a problem with syntax test indicators reporting wrong
    states after comments.
  * Improved Verilog syntax.
  * Improved quoted string highlighting for Perl and Ruby.
  * Detection of pkg-config's Lua version in src/makefile.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=73
2018-12-14 16:47:36 +00:00
Antoine Belvire
13107ed16b - Update to version 3.47:
* Fixed xterm256 and truecolor whitespace output #2
    (gl#saalen/highlight#90).
  * Fixed LaTeX, TeX, SVG and ODT whitespace output (regression of
    3.45).
  * Added darkplus theme.
  * Converted ChangeLog to AsciiDoc.
  * Allowed state test indicators to match both whitespace (ws) and
    the enclosing state (others).
  * CLI: Default output changed to xterm256 or truecolor if run in
    a terminal with color support and only a single file is
    outputted.
  * GUI: Added checkbox in the clipboard tab to output selected
    lines only.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=71
2018-10-14 08:10:28 +00:00
Antoine Belvire
7718b499c9 - Update to version 3.46:
* Fixed xterm256 and truecolor whitespace output
    (gl#saalen/highlight#90).
  * Converted manuals to AsciiDoc.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=70
2018-10-07 15:48:48 +00:00
Antoine Belvire
890d997995 - Update to version 3.45:
* Added DocumentHeader and DocumentFooter plug-in hooks.
  * Added RemoveKeyword Lua function for syntax definitions.
  * Added syntax test indicators (see README_TESTCASES).
  * Added support for ISO and R10 variants of Modula2.
  * Fixed R identifiers.
  * Fixed ALAN IF identifiers.
  * Fixed issue with Bash string interpolation.
  * Fixed some bugs found by coverity tool
    (gl#saalen/highlight#82).
  * Added Swift keywords and types.
  * Added filetypes.conf.5 man page (gl#saalen/highlight#83).
  * Added Gradle extension mapping.
- Renamed highlight-3.43-fix-doc-dir.patch to
  highlight-3.45-fix-doc-dir.patch: Rebased patch to 3.45.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=69
2018-10-06 07:29:15 +00:00
Antoine Belvire
3a9f79a9cd - Update to version 3.44:
* Fixed gcc 8 compilation warnings.
  * Fixed Ruby string interpolation (gh#andre-simon/higlight#70).
  * Added support for ALAN IF.
  * Added 107 Base16 themes.
  * Updated Rust and Java reserved words lists.
  * Revised documentation.
  * Moved extras/css-themes into extras/themes-resources.
  * Added extras/themes-resources/base16.
  * GUI: added Base16 theme selection checkbox.
  * CLI: added --base16 option to enable the new themes.
  * CLI: accept - as argument to read from stdin
    (gh#andre-simon/highlight#73).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=67
2018-07-22 07:58:24 +00:00
Antoine Belvire
c3425aaadf - Make the build of gui subpackage conditional (built by default).
- Clean spec file with spec-cleaner.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=66
2018-07-07 13:48:55 +00:00
Antoine Belvire
f7ec521188 - Update to version 3.43:
* Updated astyle code to release 3.1 (Rev. 655).
  * Added webkit reformatting style.
  * Improved several language definitions.
  * Fixed Matlab string recognition (#61).
  * Fixed Autohotkey escape sequence recognition.
  * Added excel.lang (#60).
  * Improved Qt pro file (#59).
  * CLI: Added --reformat-option (#62).
  * CLI: Added --line-range (#64).
  * GUI: Added Bulgarian translation.
- Rebase docdir patch on 3.43:
  * Remove highlight-3.41-fix-doc-dir.patch.
  * Add highlight-3.43-fix-doc-dir.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=63
2018-05-01 10:29:17 +00:00
Antoine Belvire
7abcca3f8f - Update to version 3.42:
* Fix HL_OUTPUT in Lua state for HL_FORMAT_XHTML and
    HL_FORMAT_TRUECOLOR values.
  * Fix lib-shared make target.
  * Update astyle code to release 3.1.0 beta.
  * Add Polygen and EBNF2 syntax definitions.
  * Add pywal terminal colouring template in extras/pywal.
  * Add reformatting style ratliff (replaces banner).
  * Add extras/langDefs-resources/cleanslate.lang.
  * Improve Perl6 compatibility.
  * Improve PHP string interpolation.
  * Improve Haskell definition.
  * CLI: Add --canvas option to define background color padding in
    ANSI output.
  * GUI: Add French translation.
  * GUI: Add Scripts tab.
  * GUI: Minor bugfixes.
- Rebase optflags patch on 3.42:
  * Remove highlight-3.34-use_optflags.patch.
  * Add highlight-3.42-use_optflags.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=61
2018-01-24 07:01:55 +00:00
Antoine Belvire
4932b887a1 - Update to version 3.41:
* Rename examples directory to extras.
  * Line anchors (-a) are attached as id attribute to the first
    span or li tag in HTML output.
  * Rename ID prefix in outhtml_codefold plug-in to be compatible
    with -a IDs.
  * Add fstab.lang and add anacrontab in filetypes.conf.
  * Remove references to OutputType::HTML32.
  * Add extras/css-themes and extras/langDefs-resources.
  * CLI: Remove deprecated indicator of --data-dir option.
  * CLI: Add --no-version-info option.
  * GUI: Fix initial theme selection.
  * GUI: Add "Omit version info comment" option.
  * GUI: Add "Copy with MIME type" option for HTML output.
- Rebase patch about documentation directory:
  * Remove highlight-3.32-fix-doc-dir.patch.
  * Add highlight-3.41-fix-doc-dir.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=59
2017-11-29 19:30:02 +00:00
Antoine Belvire
863146e12f - Update to version 3.40:
* Fix Ruby string parsing.
  * Fix segfault on sparc64.
  * Fix PureBasic definition.
  * Add CMake definition.
  * Add email definition.
  * Link scm suffix to lisp definition.
- Remove _service file (not used after all).

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=57
2017-10-25 19:22:54 +00:00
Antoine Belvire
c72f50892b - Update to version 3.39:
* Add syntax for Docker and Elixir.
  * Improve HTML, Julia, Kotlin and Smalltalk syntax definitions.
  * GUI: Add "Paste, Convert and Copy" button.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=55
2017-07-26 22:57:59 +00:00
Antoine Belvire
b7ef8db503 - Fix rpmlint warnings:
* Convert some files to Unix end-of-line format using dos2unix.
  * Shorten subpackage summaries.
  * Add conditional in order not to call desktop_database_post(un)
    macros on Tumbleweed, as it's now handled by RPM filetriggers.
- Move Qt build dependency to gui subpackage.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=54
2017-07-23 08:28:03 +00:00
Antoine Belvire
1d941cd12a - Update to version 3.38:
* Fix Bash variable highlighting issue
  * Update astyle code to release 3.0.1
  * Add bash_ref_man7_org.lua plugin
- Improve spec file:
  * Create separate gui-lang subpackage for gui translations
  * Use find_lang macro
  * Add desktop database update calls in pre and post

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=52
2017-06-21 21:53:45 +00:00
Antoine Belvire
aed4391a57 - Update to version 3.37:
* Fix Perl string highlighting issue
  * Fix highlighting if a line continues after the nested code
    delimiter
  * Update astyle code to release 3.0
  * Add examples/pandoc
  * Add syntax mapping for markdown
  * Add syntax mapping for clj
  * Improve Java definition
  * Add theme to JSON converter in examples/json
  * CLI: Add support for environment variable HIGHLIGHT_OPTIONS

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=50
2017-05-31 22:40:26 +00:00
Antoine Belvire
65dd4fc752 - Add service file
* set_version (disabled)
  * download_files (disabled)
- Update highlight.keyring: Key had expired in 2017/02

OBS-URL: https://build.opensuse.org/package/show/devel:tools/highlight?expand=0&rev=48
2017-05-21 22:20:44 +00:00