[Bug web/90127] Disable bugzilla [[wiki_links]] and don't confuse r12 register names with r12345 svn revisions

2019-04-30 Thread LpSolit at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90127

Frédéric Buclin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Frédéric Buclin  ---
done

[Bug web/90127] Disable bugzilla [[wiki_links]] and don't confuse r12 register names with r12345 svn revisions

2019-04-17 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90127

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org

--- Comment #3 from Eric Gallager  ---
oh yeah this has been bothering me for a while now; good to see an effort to
finally do something about it!

[Bug web/90127] Disable bugzilla [[wiki_links]] and don't confuse r12 register names with r12345 svn revisions

2019-04-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90127

--- Comment #2 from Jonathan Wakely  ---
Would it be easy to only link for strings that look like WikiNames and not
identifiers in all lowercase like "noreturn"?

e.g. a regex like [[:upper:]][[:alnum:]]+

That way [[InstallingGCC]] and [[DebuggingGCC]] and [[LibstdcxxTodo]] would 
still be links, but C++ attributes would not.

[Bug web/90127] Disable bugzilla [[wiki_links]] and don't confuse r12 register names with r12345 svn revisions

2019-04-17 Thread LpSolit at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90127

Frédéric Buclin  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2019-04-17
   Assignee|unassigned at gcc dot gnu.org  |LpSolit at gmail dot com
 Ever confirmed|0   |1

--- Comment #1 from Frédéric Buclin  ---
(In reply to Jonathan Wakely from comment #0)
> Either we should pick another syntax for wiki links, or just disable it. I
> don't think anybody uses it.

Which solution do you prefer?


> Secondly, the shortcuts for svn revisions like r12345 also match register
> names like r1, r12, r123 and that's also distracting. I suggest that it
> should only link to an svn revision for 4 or more digits. GCC supports
> targets that have register names with three digits, and I doubt there's any
> need to link to the first 999 svn revisions.

OK, I will do it.