Commit graph

3272 commits

Author SHA1 Message Date
Dave Davenport
109bc23d53 [Dialogs.SSH] Remove use of g_ascii_string_to_signed. 2019-04-20 10:46:44 +02:00
Quentin Glidic
c33543f5ca
configure.ac,meson: Define GLIB_VERSION_{MIN_REQUIRED,MAX_ALLOWED}
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 10:15:06 +02:00
Quentin Glidic
4224614115
theme: Fix g_list_copy_deep() warning
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 10:10:07 +02:00
Quentin Glidic
1d556b56cc
meson: Fix Bison arguments
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 10:09:25 +02:00
Quentin Glidic
b4ab5e5c88
meson: Lower default warning level
It makes it easier for us to find real issues.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 10:09:01 +02:00
Quentin Glidic
a6605b6f4d
tests: Fix mode_result test warning
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 10:07:43 +02:00
Quentin Glidic
7416f344a3
Use g_list_free_full()
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 10:00:58 +02:00
Quentin Glidic
a9dae788d1
Correctly include config.h first
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 09:59:53 +02:00
Quentin Glidic
88e44759ce
gitmodules: Update libgwater
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 09:07:01 +02:00
Quentin Glidic
d2efa2496e
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-18 21:22:41 +02:00
Dave Davenport
d44fb75105 Update images path. 2019-04-18 20:00:57 +02:00
Dave Davenport
7acd7532da [Manpage] Add overlay as widget to manpage. 2019-04-16 12:56:28 +02:00
Dave Davenport
5b96be66ae [View] Move overlay into the theme system instead of weird addon.
It is now a child in the inputbar.

Fixes: #950
2019-04-16 12:52:53 +02:00
Dave Davenport
29c83b3623 [DmenuScript] Add missing header file. 2019-04-03 12:18:50 +02:00
Dave Davenport
011d92075c [Dmenu][Script] Share some code between the two modi 2019-04-02 13:51:53 +02:00
Dave Davenport
88d987b054 [DMenu] Add icon support.
Same syntax as used for script mode.

Fixes: #948 #840
2019-04-02 13:12:42 +02:00
Dave Davenport
7d117886b5 Use g_ascii_string_to_signed instead of atoi in ssh, allows error
checking.
2019-03-29 13:50:48 +01:00
Dave Davenport
fadfae5433 [Window] Fix default value and help comment. 2019-03-29 11:24:10 +01:00
Quentin Glidic
855fb4e22a Add Meson instructions (#943)
* INSTALL: Refactor build instructions

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>

* INSTALL: Remove trailing whitespace

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>

* INSTALL: Add Meson instructions

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-03-26 13:58:37 +01:00
Quentin Glidic
66995fe215
meson: Use Meson pkgconfig module
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-03-26 12:25:40 +01:00
Quentin Glidic
08a80b4448
meson: Drop unnecessary "install: false" arg from configure_file()
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-03-26 12:25:28 +01:00
Quentin Glidic
64e5a1ead7
meson: Change check option type to "feature"
This will allow downstream to force it enable if needed

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-03-26 12:10:52 +01:00
Quentin Glidic
16c77ea3ce
meson: Drop enable- prefix for options
This is the preferred way for Meson projects

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-03-26 12:10:09 +01:00
Quentin Glidic
0657107fd5
meson: Drop enable-asan option
Meson has b_sanitize=address built-in for that.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-03-26 12:08:32 +01:00
Quentin Glidic
7e0affdb98
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-03-26 11:58:37 +01:00
Dave Davenport
8d4b8ce5de [Icon] Use horizontal align for x-align option.
Thx SardemFF7 for spotting this.
2019-03-24 12:37:27 +01:00
Dave Davenport
5b83b2ed23 Allow aligning icon 2019-03-24 10:31:13 +01:00
Dave Davenport
1a77cae593 When mode not found, show gui, not only on commandline. 2019-03-24 02:39:57 +01:00
Dave Davenport
e17d63f5ae [Lexer] Fix nested () in variable default field.
- var ( a, rgba(0,0,0,0)) was broke

Fixes: #936
2019-03-21 10:33:50 +01:00
Dave Davenport
6fffe427c4 Change sidebar in theme to mode-switcher.
Fixes: #930
2019-03-19 22:45:10 +01:00
Dave Davenport
beeb9c8b27 [SSH] Use \x1F as separator between host/command and port.
Fixes: #932
2019-03-08 13:46:10 +01:00
Dave Davenport
2728e4ad23 [Theme] Make 'sidebar' settable by theme.
Now it needs a configuration option to enable, this should be just part
of the theme now.

Sidebar is the "sidebar" widget.

If not set by theme, old behaviour is still followed.
2019-03-05 10:11:34 +01:00
Dany Marcoux
ee0d3d828e Refer to sorting-method in 1.5.2 release (#929)
Instead of `sort-method`, which is wrong.
2019-03-05 00:15:41 +01:00
Dave Davenport
ec81a17c41 [SSH] Expand path and use right strcmp.
Issue: #928
2019-03-04 23:16:14 +01:00
Dave Davenport
906a48f566 [SSH] Add support for UserKnownHostsFile
Issue: #928
2019-03-04 22:05:08 +01:00
Dave Davenport
df10eb2735 Add note to manpage about new config format filename.
Fixes: #926
2019-03-04 17:13:23 +01:00
Tobia De Koninck
b1336e983e Add installation instructions for openSUSE (#924) 2019-03-01 15:49:34 +01:00
Michael Stapelberg
6bbbd08941 Fix RandR 1.5 check: use RANDR_PREF_MINOR_VERSION (#918)
XCB_RANDR_MAJOR_VERSION/XCB_RANDR_MINOR_VERSION are the maximum supported (in code) version.

Before this commit, the check verified that your libxcb did not support a newer RandR version than your running server.
After this commit, the check verifies the server’s RandR version is at least 1.5.
2019-02-21 16:03:34 +01:00
Dave Davenport
335adc30b3 [DRun] Fix sorting of drun.
Thanks to ChrisJAllan
2019-02-17 20:42:14 +01:00
Dave Davenport
3c56761a76 [Helper] Add more error checking/reporting. 2019-02-10 14:32:21 +01:00
Dave Davenport
f49866bd8b [Doc] Update documentation to match changed functions. 2019-02-10 14:26:06 +01:00
Dave Davenport
fbd34c9635 [DRun] Sort the (non history) entries by name. Escape for pango. 2019-02-10 14:15:35 +01:00
Dave Davenport
f879062417 [SSH] Add support for parsing port number from known hosts file.
* Store port number in history.
* Parse the [host]:port format.
* Update default ssh command to (optionally) add -p {port}.

Fixes: #580
2019-02-10 13:56:44 +01:00
Dave Davenport
9af5cac65b Update test for added cache-dir config option. 2019-02-08 21:13:01 +01:00
Dave Davenport
52204a527c Add option to change location of cache dir.
-cache-dir

Fixes: #769
2019-02-08 20:43:53 +01:00
Dave Davenport
94ebd7e635 [Script] cleanup unnecessary $ from arithmetic variables. 2019-02-02 12:52:23 +01:00
Codacy Badger
60fb2c19c2 Add Codacy badge (#910) 2019-02-02 12:43:50 +01:00
Dave Davenport
f7daa9b1b1 [Scripts] Remove cat for pipe. 2019-02-02 12:39:41 +01:00
Dave Davenport
b30b50dc5a [Scripts] Do some fixes. 2019-02-02 12:35:37 +01:00
Dave Davenport
83995a738a [Scripts] Removed unused variables 2019-02-02 12:12:35 +01:00