From: kentfredric at gmail dot com Operating system: N/A PHP version: Irrelevant Package: Website problem Bug Type: Bug Bug description:svn.php.net style sheets useless for viewing source code
Description: ------------ I was just looking in to see the source of a PEAR module hosted on svn.php.net, to see how it was implemented: http://svn.php.net/viewvc/pear/packages/Var_Dump/trunk/Var_Dump.php?revision=237750&view=markup To my horror, I noticed that: 1. The source code is horribly garish in terms of colouring, here, no colour at all would be preferred to the intermittent low-contrast purple banding. 2. The source code lacks CSS bits to preserve indentation, further decreasing legibility. The CSS Part is easy enough to resolve: white-space: pre-wrap And it would be good to have the lines in monospaced text: font-family: monospaced And it should be safe to stick that in `div#vc_file > table` 's style rule. An alternative would be simply un-blocking the ability to view source files raw in VC For instance, gentoo's install of VC allows you to view source, by clicking a "Download" on each source file, giving http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-perl/Algorithm-C3/Algorithm-C3-0.80.0.ebuild?revision=1.1 Which is quite legible. However .... svn.php.net seems to have explicitly blocked this function for some reason: http://svn.php.net/viewvc/pear/packages/Var_Dump/trunk/Var_Dump.php?revision=237750 -> --- Checkout view is disabled HTTP Response Status 403 Forbidden --- -- Edit bug report at https://bugs.php.net/bug.php?id=66847&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66847&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66847&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66847&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66847&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66847&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66847&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66847&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66847&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66847&r=support Expected behavior: https://bugs.php.net/fix.php?id=66847&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66847&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66847&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66847&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66847&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66847&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66847&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66847&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66847&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66847&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66847&r=mysqlcfg -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php