git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC (take 2)] gitweb: New improved patchset view

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 30, 2006, 22:39 UTC
Message-ID
<200610302339.55128.jnareb@gmail.com>
In-Reply-To
<20061030233017.19f25117.froese@gmx.de>
Edgar Toernig wrote:
Show 12 quoted lines
> Jakub Narebski wrote:
>>
>> I'm just saying that with HTML diffs, presented via gitweb in graphical
>> web browser, you have more possibilities, more formatting to use.
> 
> It would be nice though, when the gitweb output would be readable
> on non css-capable browsers (i.e. w3m) too.  At the moment, gitweb
> is mostly usable - the only problematic case is code and diffs.
> These are presented via div-tags so in a non-css browser, all spaces
> are collapsed thereby removing all indentation.  Couldn't code
> fragments be presented via (styled) pre-tags for backward compatibility?
> Pretty please :)
Well, we replaced using s/ /&nbsp;/g with .pre class woth white-space: pre.
Perhaps we can go halfway, and add <pre>...</pre> wrapping line.
 
Show 5 quoted lines
> Btw, while the css version looks nice, Opera seems to have extreme
> performance problems with gitweb's project page when there are a lot
> of repositories.  I.e. trying to view http://gitweb.freedesktop.org/
> brings my system to its knees.  Turning off style sheets cures it
> but then diffs are unusable ...

Strange. It's just a simple table. Could you and would you be able to debug it further (e.g. by bisecting CSS)?

-- 
Jakub Narebski
Previous: Edgar ToernigNext: Edgar Toernig
Message 4 of 7 in “Re: [PATCH/RFC (take 2)] gitweb: New improved patchset view”
  1. Luben TuikovOct 30, 2006
  2. Jakub NarebskiOct 30, 2006
  3. Edgar ToernigOct 30, 2006
  4. Jakub NarebskiOct 30, 2006
  5. Edgar ToernigOct 31, 2006
  6. Luben TuikovOct 30, 2006
  7. Junio C HamanoOct 30, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.