From 9fa5f71034497043e2b5dbb2c40417aebd94e327 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 21 Apr 2010 15:18:11 -0400 Subject: [PATCH 1/3] update; my branch is (partially) debugged now --- doc/todo/auto-create_tag_pages_according_to_a_template.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn index ed681ac4d..63bcabaee 100644 --- a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn +++ b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn @@ -273,7 +273,7 @@ wrong direction. I've pushed an autotag branch of my own, which refactors things a bit. It is untested so far though. --[[Joey]] -* `verify_src_file` only called from Render.pm +* `verify_src_file` only called from Render.pm (actually, function removed) * Gets rid of `%del_files`. * Uses `%wikistate`. From c4afb13fa588643476535612e2279eae79534dcc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 21 Apr 2010 15:19:47 -0400 Subject: [PATCH 2/3] spelling --- debian/changelog | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index b7ec99463..6b91fd3e6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -45,13 +45,13 @@ ikiwiki (3.20100415) UNRELEASED; urgency=low * calendarmonth.tmpl: The month calendar is now put in a sidebar. * calendar: Improved display of arrows. * Rename --getctime to --gettime. (The old name still works for - backwards compatability.) + backwards compatibility.) * --gettime now also looks up last modification time. * Automatically run --gettime the first time ikiwiki is run on a given srcdir. (Use --no-gettime to disable.) * Add rcs_getmtime to plugin API; currently only implemented for git and svn. - * Optimise --gettime for git, so it's appropriatly screamingly + * Optimise --gettime for git, so it's appropriately screamingly fast. (This could be done for most other backends too.) * However, --gettime for git no longer follows renames. That would be slow, and whether a renamed wiki page is the same page is really @@ -1146,7 +1146,7 @@ ikiwiki (2.55) unstable; urgency=low * attachment: Do not escape _ when determining attachment filenames. * Rebuild pages that change their type. (Gabriel McManus) * monotone: Add support for rename, delete, and also diff. (William Uther) - * toggle: Fix incompatability between javascript and webkit. + * toggle: Fix incompatibility between javascript and webkit. * bzr: Add support for rename and delete. (Jelmer Vernooij) * attachment: Use relative paths when inserting links. * toggle: Fix for when html got tidied. Closes: #492529 (Enrico Zini) @@ -2133,7 +2133,7 @@ ikiwiki (2.6) unstable; urgency=low - relax asumption about the possible submit values (use "Save Page" explicitly); - de-hardcode the submit buttons from the editpage template - (This was needed for compatability with a bug in CGI::FormBuilder + (This was needed for compatibility with a bug in CGI::FormBuilder 3.0401, but ikiwiki already needs a newer version.) * Pass buttons to all other formbuilder_setup hooks too. * Add color parameter to postsparkline. Closes: #438900 @@ -2182,7 +2182,7 @@ ikiwiki (2.4) unstable; urgency=low * Make the toc plugin use html-compatible anchors. This is necessary since most web sites serve ikiwiki xhtml files as text/html and mozilla browsers - get confused. So it's best for ikiwiki to follow the compatability + get confused. So it's best for ikiwiki to follow the compatibility recommendations in appendix C of the XHTML spec. Closes: #432045 * Support building on systems that lack asprintf. * mercurial getctime is currently broken, apparently by some change in @@ -2680,7 +2680,7 @@ ikiwiki (1.41) unstable; urgency=low * Gettext 1.04 or up is needed for the OO interface that ikiwiki needs, if an older version is installed, just don't gettext strings, instead of crashing. - * Added smileys for Moin Moin compatability. + * Added smileys for Moin Moin compatibility. * Fix handling of discussion links on discussion pages when l10n is used. * Make gitorigin_branch and gitmaster_branch configurable via the setup file. Closes: #408599 @@ -2988,7 +2988,7 @@ ikiwiki (1.29) unstable; urgency=low * Note that plugins that accessed this variable will need to be updated! The plugin interface has been increased to version 1.01 for this change. As few plugins use %renderedfiles I haven't done anything else to ensure - compatability of old plugins. + compatibility of old plugins. * Add will_render function to the plugin interface, used to register that a page renders a destination file, and do some security checks. Previously but no longer rendered files will be cleaned up. @@ -3326,7 +3326,7 @@ ikiwiki (1.13) unstable; urgency=low treating the GlobList as a very limited microlanguage that is transformed to perl code that does the matching. * The old GlobList format is deprecated, and I encourage users to switch to - using the new PageSpec format. Compatability with the old format will be + using the new PageSpec format. Compatibility with the old format will be removed at some point, possibly by 2.0. * Wiki rebuild needed on upgrade to this version due to PageSpec change. * Add support for creation_month and creation_year to PageSpec. @@ -3385,7 +3385,7 @@ ikiwiki (1.11) unstable; urgency=low This will be the page that a source page will be part of, which is different than the source page for inlined pages. * Audited all plugins to endure they pass (page, destpage) to htmllink - appropriatly. This means inlining of various plugins will not work + appropriately. This means inlining of various plugins will not work properly, with correct links generated. -- Joey Hess Thu, 27 Jul 2006 20:51:23 -0400 From e3ea28f8c7fb9682d9e5bea32de835cee7605846 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 21 Apr 2010 15:53:44 -0400 Subject: [PATCH 3/3] update, tag deletion bug --- ...ate_tag_pages_according_to_a_template.mdwn | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn index 63bcabaee..d7637ef1b 100644 --- a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn +++ b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn @@ -152,12 +152,12 @@ consider this a feature, not a bug) Todo/Bugs: * Will still create a page even if there's a page other than `$tag` under -`tagbase` satisfying the tag link. +`tagbase` satisfying the tag link. (details? --[[Joey]]) * Call from `IkiWiki.pm` to `Render.pm`, which adds a module dependency in the -wrong direction. +wrong direction. (fixed --[[Joey]] ) * Add files to RCS. * Unit tests. -* Proper documentation. +* Proper documentation. (fixed (mostly) --[[Joey]]) --[[David_Riebenbauer]] @@ -273,9 +273,17 @@ wrong direction. I've pushed an autotag branch of my own, which refactors things a bit. It is untested so far though. --[[Joey]] -* `verify_src_file` only called from Render.pm (actually, function removed) -* Gets rid of `%del_files`. -* Uses `%wikistate`. +--- + +Known bugs in my branch (probably also in David's): + +* Does not remember that a tag was deleted. + + The code to do that only works if, at the same time the tag + is deleted, one of the pages that has the tag is modified. + That's because `add_autofile` needs to be called before it's + aware the autofile exists, and if it's not aware, it does not + record it as a deleted autofile. [f3abeac919c4736429bd3362af6edf51ede8e7fe]: http://git.liegesta.at/?p=ikiwiki.git;a=commitdiff;h=f3abeac919c4736429bd3362af6edf51ede8e7fe (commitdiff for f3abeac919c4736429bd3362af6edf51ede8e7fe) [4af4d26582f0c2b915d7102fb4a604b176385748]: http://git.liegesta.at/?p=ikiwiki.git;a=commitdiff;h=4af4d26582f0c2b915d7102fb4a604b176385748 (commitdiff for 4af4d26582f0c2b915d7102fb4a604b176385748)