{"thread":{"id":"29749","subject":"[PATCHv3 0/4] gitweb: Match highlighting in project search","startedAt":"2012-02-27T01:28:57Z","lastAt":"2012-02-27T01:28:57Z","messageCount":1,"participants":["Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"185485","messageId":"1330306141-25013-1-git-send-email-jnareb@gmail.com","threadId":"29749","inReplyTo":null,"subject":"[PATCHv3 0/4] gitweb: Match highlighting in project search","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2012-02-27T01:28:57Z","receivedAt":"2012-02-27T01:28:57Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"These patches are separated from second part of previous version of\nthis series\n\n  \"[PATCHv2 0/8] gitweb: Faster and improved project search\"\n  http://thread.gmane.org/gmane.comp.version-control.git/190852\n\nIt is meant to replace 'jn/gitweb-hilite-regions' in pu.\n\nThis series adds highlighting of matching string to project search.\nThe per-project 'commit' and 'grep' search already implement match\nhighlighting.  Additional goal is to provide beginnings of match\nhighlighting framework, to be used thorough gitweb, reducing code\nduplication and unifying handling of match highlighting, improving\nit.\n\nThe implementation of match highlighting in this series can highlight\ncorrectly multiple matches in single line, as opposed to hand-rolled\ncode for highlighting in 'grep' and 'commit' search types for 'search'\naction.\n\n\nPrevious version of this series had as a last patch proof-of-concept\nof using match highlighting infrastructure for per-project search,\nnamely 'grep' search:\n\n  gitweb: Use esc_html_match_hl() in 'grep' search\n  http://thread.gmane.org/gmane.comp.version-control.git/190852/focus=190860\n\nThis version does not include it, among others because of question\non how to implement -nbsp=>1 version of match highlighting (see first\npatch in series for comments).  It would be as a separate patch series.\n\n\nJakub Narebski (4):\n  gitweb: Introduce esc_html_match_hl and esc_html_hl_regions\n  gitweb: Highlight matched part of project name when searching\n    projects\n  gitweb: Highlight matched part of project description when searching\n    projects\n  gitweb: Highlight matched part of shortened project description\n\n gitweb/gitweb.perl |   95 ++++++++++++++++++++++++++++++++++++++++++++++++++--\n 1 files changed, 92 insertions(+), 3 deletions(-)\n\n-- \n1.7.9\n"}]}