Joey Hess
cff3937b68
remove 2 argument form of file_pruned
2010-04-20 14:08:29 -04:00
Joey Hess
6d063a6698
switch to 1 parameter version of file_pruned
...
Another bit of code that didn't realize that File::Find sets $_ to the
relative filename.
2010-04-20 14:06:00 -04:00
Joey Hess
230a8b22a4
remove explicit absolute test
...
file_pruned now tests for that
2010-04-20 13:59:17 -04:00
Joey Hess
5d3f787729
use one parameter form of file_pruned here too
...
In File::Find, $_ is relative to the current directory, so that is ok.
Also, the directory name doesn't need to be stripped from $_.
2010-04-20 13:54:24 -04:00
Joey Hess
7a92c0aa4a
clarify why absolute is tested & stripped here
...
file_prune also fails on absolute filenames now
2010-04-20 13:49:46 -04:00
Joey Hess
ca33969823
Merge branch 'master' into file_pruned_revamp
2010-04-20 13:43:21 -04:00
http://smcv.pseudorandom.co.uk/
3b8f4f59d6
internal pages: the revenge?
2010-04-20 15:01:39 +00:00
Jon Dowland
52ccc03d10
clarify whether the raw files would be put in destdir
2010-04-20 15:40:10 +01:00
Joey Hess
d1a1f3ad21
fix minor bug if a page's name is "0"
2010-04-20 01:54:42 -04:00
Joey Hess
1171851934
similarity to internal pages
2010-04-20 01:32:19 -04:00
Joey Hess
1239fa55d5
no need to return content from postscan hook
2010-04-20 00:07:41 -04:00
Joey Hess
563428ebd2
response
2010-04-19 23:52:16 -04:00
Joey Hess
606dcbedc9
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2010-04-19 23:49:47 -04:00
Joey Hess
de6167a3b0
change wording
...
This is more accurate when a file that is not a page is what is removed.
2010-04-19 23:48:24 -04:00
http://kerravonsen.dreamwidth.org/
529929e732
non comprend
2010-04-20 02:45:14 +00:00
http://kerravonsen.dreamwidth.org/
fda191cbbb
formatting
2010-04-20 02:43:44 +00:00
http://kerravonsen.dreamwidth.org/
16afa9e844
further clarification
2010-04-20 02:41:13 +00:00
Joey Hess
9f00692a79
response
2010-04-19 22:37:55 -04:00
Joey Hess
8f8bda1ae5
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2010-04-19 22:37:02 -04:00
http://kerravonsen.dreamwidth.org/
09c647c177
response
2010-04-20 02:31:00 +00:00
Joey Hess
1734e99d27
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2010-04-19 22:19:09 -04:00
Joey Hess
2111bf0408
move message into if block
2010-04-19 22:14:22 -04:00
Svend Sorensen
65510a3c05
Merge branch 'master' of git://git.ikiwiki.info
2010-04-19 16:13:10 -07:00
Svend Sorensen
e1ebdda72b
Remove www prefix from Svend's website URLs
2010-04-19 16:12:09 -07:00
Joey Hess
7c0a2830f2
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2010-04-19 16:04:49 -04:00
Joey Hess
1b7c455f4a
thinking about changing how templatedir works and allowing wikitemplate files into the srcdir
2010-04-19 16:03:53 -04:00
http://oblomov.myopenid.com/
99cdd38dd5
Respond
2010-04-19 08:36:38 +00:00
http://kerravonsen.dreamwidth.org/
63e6c00890
response to the further thoughts
2010-04-19 02:23:12 +00:00
PeteG
472694b8b4
2010-04-18 12:34:20 +00:00
PeteG
56bf9c04a2
2010-04-18 12:33:51 +00:00
Joey Hess
a97964688b
unfinished file_prune revamp
...
Many calls to file_prune were incorrectly calling it with 2 parameters.
In cases where the filename being checked is relative to the srcdir,
that is not needed.
Made absolute filenames be pruned. (This won't work for the 2 parameter call
style.)
2010-04-17 19:05:40 -04:00
Joey Hess
59ceeb5621
improve docs
2010-04-17 17:15:07 -04:00
Joey Hess
831b891abd
move File::Find control back into its code blocks
...
Ok, this is longer, but features less scary action at a distance.
2010-04-17 16:14:15 -04:00
Joey Hess
f78e6798aa
move decode_utf8 closer to reason for it
...
Filenames need to be decoded, as File::Find does not provide them in
decoded form, but other callers of verify_src_file will be using utf8.
2010-04-17 16:08:37 -04:00
Joey Hess
2fc342b048
fix autotag behavior for relative tags
...
A tag like ./foo is searched for relative to the tagging page.
However, if multiple pages use such a tag, the only one sure
to be in common is in the root, so autocreate it there to
avoid scattering redunadant autocreated tags around the tree.
(This is probably not ideal.)
Also renamed the tagpage and taglink functions for clarity.
2010-04-17 16:01:41 -04:00
Joey Hess
b00d8771cc
call gentag for taglinks too
2010-04-17 15:48:00 -04:00
Joey Hess
3651e6263c
fix autofile call
2010-04-17 15:43:58 -04:00
Joey Hess
adc196a8b5
tag_autocreate fixups
...
Fix style of prompt.
Optional to rebuild when it is changed. (Needed to get new all missing tags)
2010-04-17 15:41:45 -04:00
Joey Hess
ca02c57ee4
document add_autofile
2010-04-17 14:07:12 -04:00
Joey Hess
e289e0b4ba
recommend git
2010-04-17 14:00:25 -04:00
Joey Hess
cd8ec309d2
bzr getmtime done
2010-04-17 13:58:31 -04:00
Joey Hess
6f485b8f45
note that tla plugin is not being maintained
2010-04-17 13:57:59 -04:00
Joey Hess
2f9504a10d
bzr: changelog and refactor
2010-04-17 13:55:38 -04:00
Jelmer Vernooij
9ff5174f11
Fix get_ctime implementation in Bazaar plugin, add get_mtime implementation.
2010-04-17 13:52:16 -04:00
Joey Hess
a1aa71efc9
document the gitbranch template
2010-04-17 13:49:20 -04:00
Joey Hess
9fbef7e1d2
reformat
2010-04-17 13:42:50 -04:00
Joey Hess
c721a9ef87
my autotag branch
2010-04-17 13:41:06 -04:00
Joey Hess
b7d50abc0f
refactor autofiles
...
Made add_autofile take a generator function, and just register the
autofile, for later possible creation. The testing is moved into Render,
which allows cleaning up some stuff.
2010-04-17 13:35:15 -04:00
Joey Hess
2269a4c74b
whitespace
2010-04-17 13:05:04 -04:00
Joey Hess
54f600af14
Merge remote branch 'davrieb/autotag' into autotag
...
Conflicts:
IkiWiki.pm
IkiWiki/Plugin/tag.pm
2010-04-17 12:50:23 -04:00