16 Commits

Author SHA1 Message Date
Sascha Kruse
4b7d1f722c fix '-' and '_' matching in urls
fix issue #192
2014-08-27 09:44:31 +02:00
Sascha Kruse
27eb2bcbe6 remove trailing whitespaces 2014-03-08 19:03:50 +01:00
Yuri D'Elia
2023623b16 Fix URL matching regex
The URL matching regex as currently used by dust is too liberal, and will just
match about anything.

Some examples:

  "establishing connection..." => connection...
  "setting volume to [50%]" => 50%]

The following expression is an adapted copy of urxvt's URL matcher.
2014-03-06 18:05:22 +01:00
Steven Allen
95c67908c1 Fix memory leak in URL scanning code 2013-08-12 18:37:54 -07:00
Giuliano Schneider
5edcd1097b simplified regex, added ftps 2013-04-30 16:14:02 +02:00
Giuliano Schneider
43e798dde7 don't parse something like "bla..." as domain 2013-04-30 16:10:29 +02:00
Sascha Kruse
1a9c20ad63 fix warning about discarding const 2013-03-20 09:34:15 +00:00
progandy
30c5c63d72 menu.c: fix problems with trailing whitespace in actions 2013-03-11 00:35:49 +01:00
progandy
c711606640 better url recognition, less mismatches 2013-03-08 08:52:10 +01:00
progandy
00b2be3dc0 cleaner handling of actions in menu 2013-03-08 08:39:22 +01:00
Sascha Kruse
fd1ae14fa3 don't set buf[len - 1] to '\0' when reading dmenu input
see github issue #94

Since the buffer is initialized to 0, we don't need to
explicitly set the terminating null-byte.

Thanks to losciamano
2013-03-08 08:25:00 +01:00
Sascha Kruse
cff9c74e0e License header and vim modeline 2013-02-22 06:09:13 +00:00
Sascha Kruse
e82da9d5e7 indent -linx --no-tabs 2013-02-21 23:23:54 +00:00
Sascha Kruse
b8004f56d8 remove folding markers again 2013-02-21 23:19:30 +00:00
Sascha Kruse
4e92d61804 notification.{c,h} 2013-02-21 18:02:20 +00:00
Sascha Kruse
e07744fd49 move context_menu related stuff into menu.{c,h} 2013-02-21 03:08:04 +00:00