Commit graph

3203 commits

Author SHA1 Message Date
Dave Davenport
dfa8f46a1e move config.yml in place 2020-05-04 10:42:40 +02:00
Danny Colin
028c68cce5
add IRC and Reddit links to issue template chooser (#1114) 2020-05-04 10:40:08 +02:00
Dan Beste
80fc8e16b2
Fix Travis CI builds (#1107)
* fix: Fix Travis CI builds and (some) tests

https://config.travis-ci.com/explore recommendations:
  * Set the `os` key
  * Removes the `sudo` key

Fixes:
  * Missing dependencies

Cleanups:
  * Set `build_command_prepend` and `build_command` to match the process
    performed by the before_script and script.
  * Removed unnecessary apt package dependencies.
  * Ran the file through prettier (https://prettier.io/).

Enhancements:
  * Bumps dist to Ubuntu 18.04 (Bionic)
    * This bump allows us to install a few packages that were previously
      installed manually.
  * Added a Clang build.

TODOs:
  * X11 tests are broken. I've commented them out for the time being.

* Create multiple jobs

Jobs (4 total):
  Compilers:
    * Clang
    * GCC
  Build tools:
    * Autotools
    * Meson

Enhancements:
* DRY out the CI config.

Failure (seemingly related to `check`?) here:
https://travis-ci.org/github/davatorium/rofi/jobs/680265096#L1125

* [Travis] More debug output

* [Travis] Add ldconfig

* [Travis] try to fix doxy tests.

* [Travis] Try to fix doxygen stuff.

* [Travis] Trying to fix meson doxy gen tests.

* Minor cleanups

Co-authored-by: Dave Davenport <qball@gmpclient.org>
2020-04-30 09:09:28 +02:00
Dave Davenport
86cdcae55b [Window] Update manpage and --help. 2020-04-29 12:59:49 +02:00
Dave Davenport
9a3d4b1d2e [Test] Fix compiler warning, theme test (bug in lexer) and more. 2020-04-26 11:43:14 +02:00
Dave Davenport
09704eb49c [Test] Use new RofiDistance format. 2020-04-26 11:12:23 +02:00
Dave Davenport
151547a99e
[Themes] add calc() support to distance in theme format. (#1105)
* Initial test to allow math in distances.

Support + and -
Needs spaces around + and -.

* [THEME] Fix printing theme with math in distance.

* [Theme] use calc() syntax.

* [Theme] Add * and /  to calc().

* [Theme] Fix the precedense ordering in parsing. Also avoid making copies.

* [Theme] Don't print unneeded ().

* [Theme] Add modulo to calc.
2020-04-24 19:54:08 +02:00
Dave Davenport
f90ad971d9 Add dependency to INSTALL. 2020-04-22 23:56:44 +02:00
Dave Davenport
906b520daf [Script] Add no-custom mode. 2020-04-22 23:41:25 +02:00
Dave Davenport
b86109295d Update doc/readme to be markdown. 2020-04-20 11:28:33 +02:00
Dave Davenport
67b6c8bcc8 Update manpage and manpage build instructions 2020-04-20 11:27:06 +02:00
Jaakko Luttinen
ccfecef936
fix xetc to config_path (#1097) 2020-04-19 19:07:58 +02:00
Dave Davenport
ed55b6c634 check before xresource config file parsing if it exist 2020-04-19 16:24:17 +02:00
Dave Davenport
4689e6ee6d Clearify system configuration file loading process. 2020-04-19 12:10:14 +02:00
Dave Davenport
e7554da627 Parse XDG_CONFIG_DIRS for default configuration file. 2020-04-19 11:55:53 +02:00
Dave Davenport
3a9c60804b Add ROFI_PLUGIN_PATH environment variable. 2020-04-19 11:34:28 +02:00
Dave Davenport
3e64e4422d [DMenu] Implement -keep-right
Fixes: #1089
2020-04-16 23:31:43 +02:00
Dave Davenport
1104d1d53a [DRun] cleanup debug message. 2020-04-15 19:08:01 +02:00
Dave Davenport
0214d5a6e4 [DRun] Adding %% as escape character. 2020-04-15 19:06:39 +02:00
Dave Davenport
7587149950 [Script] Update example and doc. 2020-04-07 13:20:16 +02:00
Dave Davenport
de38e0f4a9 [Script|Dmenu] Don't -1 in a unsigned variable. 2020-04-07 13:14:53 +02:00
Dave Davenport
34a278f943 [Combi] Remove strchrnull
Issue: #1083
2020-04-07 12:48:53 +02:00
Dave Davenport
f63da72ea6 [Dmenu] Fix possible crash.
Don't pass empty string.

Issue: #1083
2020-04-06 23:31:45 +02:00
Dave Davenport
825fe4ae58 [Script] Fix crash when custom input with custom keybinding. 2020-04-05 13:19:22 +02:00
Dave Davenport
bacecf3044 [Script] Add environment variable to indicate state.
* ROFI_RETV shows the state rofi was in before calling rofi.
2020-04-05 12:56:33 +02:00
Dave Davenport
5879fd6099 [Script] Free g_shell_parse result. 2020-04-05 11:48:03 +02:00
Dave Davenport
c1ac4804c2 [Script] Small update manpage rofi-script. 2020-04-01 14:14:13 +02:00
Dave Davenport
fb290f9cde [Script] Update manpage with delim option. 2020-04-01 14:00:48 +02:00
Dave Davenport
aa07b8ef94 [Script] Add option to set deliminter and example script.
Issue: #1041
2020-04-01 13:58:01 +02:00
fogine
5b8aebad3e
add missing -eh (line height) option to man pages (#1080) 2020-03-31 18:07:43 +02:00
Dave Davenport
8be08007f8 [Textbox] Round estimated size up. 2020-03-31 14:05:12 +02:00
Dave Davenport
c6a405e840 Fix hack for height calc. 2020-03-30 00:09:28 +02:00
Dave Davenport
ca067234ff [Textbox|Listview] Fix sizing of textbox.
- don't get height of layout, but calculate height using metrics.
- listview, set string with right number of lines.

Issue: #925, #1069
2020-03-29 16:31:47 +02:00
Dave Davenport
cca9fa3372 Update manpage -selected-row option. 2020-03-29 12:58:28 +02:00
Dave Davenport
d8a0f540f0 Add selected-row option to normal operation. 2020-03-29 12:56:47 +02:00
Sebastiaan Lokhorst
1e4409c6b3
Remove gnome-terminal from rofi-sensible-terminal (#1074)
gnome-terminal is no longer compatible, as noted in #1003
2020-03-20 10:01:11 +01:00
Sidou
f8c3d694bb
man: Fix typo (#1068)
Removed a duplicate word "the" on rofi.1.markdown.
2020-03-14 17:00:10 +01:00
Dave Davenport
e0e6c5e670 Fix detection no theme. 2020-03-02 12:21:34 +01:00
asymmetric
e8eecae4c4
man: update default matches for desktop files (#1061)
Taken from [`config.c`](d777d0ed4b/config/config.c (L120)).
2020-02-21 15:32:52 +01:00
Dave Davenport
d777d0ed4b [Meson] Add libjpeg as dependency.
Issue: #1060
2020-02-17 21:34:41 +01:00
Dave Davenport
333d71af11 [IconFetcher] Do faster scaling. 2020-02-14 14:37:41 +01:00
Dave Davenport
855d09ded7 [IconFetcher] Add jpeg support, scale on load.
TODO: fix scaling speed.
2020-02-14 14:27:03 +01:00
Dave Davenport
3bf9d3d3b1 [Script] Reload dialog, on selecting non-selectable item. 2020-02-13 21:32:19 +01:00
Dave Davenport
c458047ef6 [Script] Fix next dialog option.
Error slipped in from previous patch.

Issue: #1059
2020-02-13 21:29:02 +01:00
Dave Davenport
03775378e0 [Script] init nonselectable.
Issue: #1057
2020-02-13 16:52:11 +01:00
Dave Davenport
eb12ff2375 Add missing compiled manpage. 2020-02-02 21:34:14 +01:00
Dave Davenport
bc2e1549fb Add rofi-script manpage, add meta option support to dmenu.
update ronn to go-md2man
2020-02-02 17:21:21 +01:00
Dave Davenport
7dcc3f450c Add option to make entry non-selectable in dmenu/script.
Fixes: #1024
2020-02-02 14:21:29 +01:00
Dave Davenport
b169289996 Indent all the code. 2020-02-02 13:56:37 +01:00
Jeff
83c2e467d5
Add support for additional field on script entries meta (#1052)
* Add test for hidden meta data in script mode

The purpose of this is to provide support for "hidden" fields on a
script item that work for search but don't get displayed.  This is
mostly to provide something similar to the optional display (but still
matchable) fields in drun like "categories" or "keywords".  This also
enables the choice to display unicode icons but still allow for
searching for the keywords without needing to print them.

* Ignore the output file from test runs

* Add support for the "meta" field on script entries

This fields provides a matchable but unprinted string for entries in a
script mode list match.  This means you can use one thing but provide
multiple options that can match that item without polluting the list
view or make confusing output.

* Add new test to test suite file
2020-02-01 13:49:11 +01:00