-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 28354875d6440cca828d8e7ba34c3524866d0d56:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 28354875d6440cca828d8e7ba34c3524866d0d56
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Thu Jul 6 19:06:40 2006 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index 1f35e445d84ab0cc5985ea3387df651bdee563f9..

index ..fc322b80322d395b89544f6c24166b33e7afc46f 100644

--- a/Changes
+++ b/Changes
@@ -22,7 +22,6 @@ DUMB: support tex fonts
 TODO: investigate -pe tabbed -g 80x25 being 23 not 24 or 25 lines
 TODO: zero scorllback buffer should free memory
 TODO: kuake
-TODO: investigate the color-management patch send ages ago, as well as other postings
 	- INCOMPATIBLE CHANGE: this version will always read ~/.Xdefaults,
           earlier versions only read it if display-resources (usually from
           .Xresources) are not set. This avoids the #1 FAQ ("why isn't my
@@ -39,6 +38,8 @@ TODO: investigate the color-management patch send ages ago, as well as other pos
           a patch by Martin Stubenschrott.
         - double-buffered xft drawing did suffer from pixel offset issues
           when pixmap transparency was enabled.
+        - strategically add # to the url-match regexes, as we really want to
+          match common URIs not common URLs. Reported by Aaron Griffin.
 	- moved on_osc_seq to on_osc_seq_perl and added a more
           generic osc_seq.
         - fix a bug causing double callback invocations when perl hooks
diff --git a/src/perl/mark-urls b/src/perl/mark-urls

index a8921aed6565f0557a29c43388917462d0ccc06a..

index ..a5f6fd470ed0ec6d53aea05e9c70a08918972554 100644

--- a/src/perl/mark-urls
+++ b/src/perl/mark-urls
@@ -3,7 +3,7 @@
 # same url as used in "selection"
 my $url =
    qr{(
-      (?:https?://|ftp://|news://|mailto:|file://)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~]+
+      (?:https?://|ftp://|news://|mailto:|file://)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~#]+
       [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27()~]   # exclude some trailing characters (heuristic)
    )}x;

diff --git a/src/perl/selection b/src/perl/selection

index d93fd6fa32b5c4794776d829873ffe3f183c3990..

index ..3c5ea547cd38dfb2aae1f5688582aec2f8f086fb 100644

--- a/src/perl/selection
+++ b/src/perl/selection
@@ -46,7 +46,7 @@ my @mark_patterns = (

    # urls, just a heuristic
    qr{(
-      (?:https?://|ftp://|news://|mailto:|file://)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~]+
+      (?:https?://|ftp://|news://|mailto:|file://)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~#]+
       [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27()~]   # exclude some trailing characters (heuristic)
    )}x,

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 11:35:15 2024