Compare commits
3 Commits
f9848ed627
...
v1.5.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
b358f53ec3
|
|||
|
2eb315f5c4
|
|||
|
851c2ee548
|
@@ -1,6 +1,6 @@
|
|||||||
# Ubuntu 18.04 LTS and OpenBSD 6.4
|
# Ubuntu 18.04 LTS and OpenBSD 6.4
|
||||||
cmake_minimum_required (VERSION 3.10)
|
cmake_minimum_required (VERSION 3.10)
|
||||||
project (uirc3 VERSION 1.4.0 LANGUAGES C)
|
project (uirc3 VERSION 1.5.0 LANGUAGES C)
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
option (WANT_READLINE "Use GNU Readline for the UI (better)" ON)
|
option (WANT_READLINE "Use GNU Readline for the UI (better)" ON)
|
||||||
@@ -61,6 +61,8 @@ if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")
|
|||||||
# Need this for SIGWINCH in FreeBSD and OpenBSD respectively;
|
# Need this for SIGWINCH in FreeBSD and OpenBSD respectively;
|
||||||
# our POSIX version macros make it undefined
|
# our POSIX version macros make it undefined
|
||||||
add_definitions (-D__BSD_VISIBLE=1 -D_BSD_SOURCE=1)
|
add_definitions (-D__BSD_VISIBLE=1 -D_BSD_SOURCE=1)
|
||||||
|
elseif (APPLE)
|
||||||
|
add_definitions (-D_DARWIN_C_SOURCE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# -lrt is only for glibc < 2.17
|
# -lrt is only for glibc < 2.17
|
||||||
@@ -116,10 +118,16 @@ endif ()
|
|||||||
if ((WANT_READLINE AND WANT_LIBEDIT) OR (NOT WANT_READLINE AND NOT WANT_LIBEDIT))
|
if ((WANT_READLINE AND WANT_LIBEDIT) OR (NOT WANT_READLINE AND NOT WANT_LIBEDIT))
|
||||||
message (SEND_ERROR "You have to choose either GNU Readline or libedit")
|
message (SEND_ERROR "You have to choose either GNU Readline or libedit")
|
||||||
elseif (WANT_READLINE)
|
elseif (WANT_READLINE)
|
||||||
|
pkg_check_modules (readline readline)
|
||||||
|
|
||||||
# OpenBSD's default readline is too old
|
# OpenBSD's default readline is too old
|
||||||
if ("${CMAKE_SYSTEM_NAME}" MATCHES "OpenBSD")
|
if ("${CMAKE_SYSTEM_NAME}" MATCHES "OpenBSD")
|
||||||
include_directories (${OPENBSD_LOCALBASE}/include/ereadline)
|
include_directories (${OPENBSD_LOCALBASE}/include/ereadline)
|
||||||
list (APPEND xC_libraries ereadline)
|
list (APPEND xC_libraries ereadline)
|
||||||
|
elseif (readline_FOUND)
|
||||||
|
list (APPEND xC_libraries ${readline_LIBRARIES})
|
||||||
|
include_directories (${readline_INCLUDE_DIRS})
|
||||||
|
link_directories (${readline_LIBRARY_DIRS})
|
||||||
else ()
|
else ()
|
||||||
list (APPEND xC_libraries readline)
|
list (APPEND xC_libraries readline)
|
||||||
endif ()
|
endif ()
|
||||||
|
|||||||
6
NEWS
6
NEWS
@@ -1,4 +1,4 @@
|
|||||||
1.5.0 (20xx-xx-xx) "The Show Must Go On"
|
1.5.0 (2021-12-21) "The Show Must Go On"
|
||||||
|
|
||||||
* xC: made it possible to pass the cursor position to external editors,
|
* xC: made it possible to pass the cursor position to external editors,
|
||||||
in particular VIM and Emacs
|
in particular VIM and Emacs
|
||||||
@@ -8,7 +8,9 @@
|
|||||||
|
|
||||||
* xC: fixed to work with post-2021-08-29 editline
|
* xC: fixed to work with post-2021-08-29 editline
|
||||||
|
|
||||||
* xC: extended editline's autocomplete to show all the options
|
* xC: extended editline's autocomplete to show all options
|
||||||
|
|
||||||
|
* utm-filter.lua: added Facebook's tracking parameter to the filter
|
||||||
|
|
||||||
|
|
||||||
1.4.0 (2021-10-06) "Call Me Scruffy Scruffington"
|
1.4.0 (2021-10-06) "Call Me Scruffy Scruffington"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
--
|
--
|
||||||
-- utm-filter.lua: filter out Google Analytics bullshit from URLs
|
-- utm-filter.lua: filter out Google Analytics bullshit etc. from URLs
|
||||||
--
|
--
|
||||||
-- Copyright (c) 2015, Přemysl Eric Janouch <p@janouch.name>
|
-- Copyright (c) 2015 - 2021, Přemysl Eric Janouch <p@janouch.name>
|
||||||
--
|
--
|
||||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||||
-- purpose with or without fee is hereby granted.
|
-- purpose with or without fee is hereby granted.
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
-- A list of useless URL parameters that don't affect page function
|
-- A list of useless URL parameters that don't affect page function
|
||||||
local banned = {
|
local banned = {
|
||||||
gclid = 1,
|
gclid = 1,
|
||||||
|
fbclid = 1,
|
||||||
|
|
||||||
utm_source = 1,
|
utm_source = 1,
|
||||||
utm_medium = 1,
|
utm_medium = 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user