Commit Graph

30 Commits

Author SHA1 Message Date
Alex Schroeder
58e9a1e240 use v5.10 everywhere + enabled test in meta.t 2015-08-18 10:48:03 +02:00
Alex Schroeder
dfa71cb2e3 Revert "Changed EN DASH to - in copyright lines"
This reverts commit 06c7fedec0.
2015-07-28 22:44:53 +02:00
Alex Schroeder
06c7fedec0 Changed EN DASH to - in copyright lines
The EN DASH is not really required in year ranges such as 2012–2015 when
we're talking about comments in source code that is probably being
displayed in a fixed font anyway. Changing back to an ordinary hypen
allows us to make a meaningful test for use utf8.
2015-07-28 22:14:37 +02:00
Aleks-Daniel Jakimenko
6f8d281d79 No more "use vars"! 2015-04-10 13:31:28 +03:00
Aleks-Daniel Jakimenko
4492ede096 "use strict;" in modules (some modules have problems) 2015-03-27 03:01:01 +02:00
Aleks-Daniel Jakimenko
62c7553d82 'return undef' changed to 'return'
This command was used:
find . -type f -print0 | xargs -0 sed -i 's/return undef/return/g'

The idea behind this commit is described on http://oddmuse.org/wiki/Refactoring page.
In short: 'return undef' returns (undef) in list context (a list with one element),
which is wrong.
2015-02-27 12:10:18 +02:00
Alex Schroeder
b1d39e3195 tables-long.pl: fix tracking of dirty blocks 2015-02-05 09:21:04 +01:00
Alex Schroeder
58e297b092 long-tables.pl: $rownum replaces $first and $odd
Updated tests, too.
2015-01-19 20:03:46 +01:00
Matt Adams
cd4f6dc64c tables-long.pl: add a class for even and odd rows 2015-01-19 19:45:14 +01:00
Alex Schroeder
5aba2ae56f Fixed typo in AddModuleDescription sub name 2014-08-21 22:23:23 +02:00
Alex Jakimenko
ee932dee37 Automatically reformatted modules 2014-08-21 07:29:46 +03:00
Alex Schroeder
37c32783f3 Changed \x{ffff} to \x{fffd} in all regular expressions.
Using Perl 5.8.8 resulted in a crash when compiling regular expressions referring to \x{ffff}.
2012-07-19 06:01:30 -04:00
Alex Schroeder
67650e3dc8 More UTF-8 fixes
All the source files containing non-ASCII characters needed to have
utf8 added. This will be necessary for user config files as well! The
regular expressions identifying page names had to be changed.
UrlEncode translates the string back to bytes before encoding it.
Cached RSS files are saved with UTF-8 encoding and therefore need
their meta-data changed (using the XML::RSS module to do this
correctly didn't work for some of the test files). The CGI object's
parameters, keywords and info_path are decoded correctly. File access
uses the UTF-8 layer (reading, writing, appending, access to the log
of recent changes, running sub processes with grep and diff).

The mac compatibility extension will also disable the use of grep if
non-ASCII characters are searched for because of an unexplained
problem with grep.
2012-05-24 18:08:42 +02:00
Alex Schroeder
f11e2a8731 getting rid of $Id$ tags in $WikiDescription
Replaced the $Id$ tags in $WikiDescription for all the modules and wiki.pl itself with a link to the source and an appropriate wiki page, if possible. This is shown in action=version and should help users figure out what another wiki has installed.
2012-04-19 02:18:45 +02:00
Alex Schroeder
1ce89d1614 (TablesLongRow): Localize
$PortraitSupportColorDiv to prevent closing divs to appear inside
table cells.
2007-08-16 21:56:35 +00:00
Alex Schroeder
3ba30aecb0 (TablesLongRule, TablesLongRow): Implement rowspan. 2005-12-13 22:50:33 +00:00
Alex Schroeder
0cd879a3f6 (TablesLongRule): Fix problem with extra
hr element or missing last cell if the table was the last thing on
the page.
2005-12-13 12:48:22 +00:00
Alex Schroeder
f2ebfd7a20 Removed $DefaultStyleSheet. 2005-10-09 11:57:52 +00:00
Alex Schroeder
d69870e9e6 (TablesLongRule): Fix bug that prevented
second table from not showing up if its labels were different.
Also fix bug with empty p element.  Also fix bug with unnecessary
colspan="2" in the last column.
2005-04-16 01:37:25 +00:00
Alex Schroeder
139dca292f (TablesLongRule): Handle newlines
correctly: avoid duplicating them.
(TablesLongRow): Get the label-count right, avoid colspan=2 for
the last column.
2005-04-15 00:57:02 +00:00
Alex Schroeder
c0db690a0b Updated copyright years. 2005-01-06 11:35:04 +00:00
Alex Schroeder
29c48d97ee (TablesLongRule): Save on space in the output. :) 2005-01-02 01:54:31 +00:00
Alex Schroeder
380e8db03d (TablesLongRule): Allow multiple CSS
directives.
2005-01-02 01:48:40 +00:00
Alex Schroeder
dabb6c7df0 (TablesLongRow): Close environments at the end of a cell. 2005-01-01 13:55:22 +00:00
Alex Schroeder
cbb0840d88 (TablesLongRow): Close th elements. 2005-01-01 13:52:51 +00:00
Alex Schroeder
e1c90f296d more css tweaks 2005-01-01 13:51:22 +00:00
Alex Schroeder
7817661417 typo 2005-01-01 13:48:21 +00:00
Alex Schroeder
715e8d267e ($DefaultStyleSheet): Added some simple text-align, font-weight,
and mark stuff.
2005-01-01 13:47:07 +00:00
Alex Schroeder
cb3f2bd267 (TablesLongRule, TablesLongRow): Added
CSS and table headers.
2005-01-01 13:40:31 +00:00
Alex Schroeder
fec7da87b9 new 2004-12-31 18:19:43 +00:00