2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-21 05:22:21 +00:00

32 Commits

Author SHA1 Message Date
Daniel James
8abdbd3938 Remove a load of old TODO notes
boost_archive.php:

For mime types, the current list seems fine, and a full list doesn't
seem feasable.

boost_filter_text.php:

For supporting other character sets, could possibly use
mb_detect_encoding to guess the file's encoding, but it's not currently
installed on the server, and I think guesses are probably no better than
just assuming everything is UTF-8. The alternative would be some
mechanism to specify a file's (path's?) encoding, but I'm sure that can
be done if the need arises.

boost_library.php:

If it turns out that a better exception is needed, then it will be
handled then, so I'm not concerned with that TODO note.

boost_pages.php:

Sourceforge is redirecting downloads to the right place, so I'll not
bother with '/download' at the end. It's probably better if the download
URLs have the right filename.

boost_simple_template.php:

I don't think the simple template class really needs to support tricky
edge cases, so I'll just leave that alone.

doc/libraries.php:

I don't think anyone's desperate to see the library list for ancient
versions. If they are, they can get the it in json format using:
http://www.boost.org/doc/libraries.json.php?version=1.11.1

site-tools/git-prep-beta.sh:

Coming back to this, I think the answer is no. A change on master is
only really made when it has been pushed to remote, if it's only local
then it might get rebased.

This script doesn't actually get much use now that there are long
standing unmerged changes in beta, but it used to work well for me.

site-tools/update-doc-list.php:

Other TODO note was to make the script a little more automatic when run
against a local git tree, but I don't think that's a use case to support
in general. The tree might not be fully synced, or might be checked out
from a tag, which would be harder to check.
2016-11-30 01:53:57 +00:00
Daniel James
b8120cc53c Adjust a lot of the error handling.
Use exceptions for most internal errors. Return error codes for most errors.
2016-09-29 02:08:52 +01:00
Daniel James
18904dd490 Wonky path/file handling for partials.
The ruby version resolves partial paths to the current working
directory, this resolves them to the path of the current file. I can't
see it specified anywhere and this seems like better behaviour to me.
2016-05-19 23:19:08 +01:00
Daniel James
32c9ac5114 Make 'render' return a string. 2016-05-19 23:18:34 +01:00
Daniel James
73ccea8a16 Preset tokenizer regexp. 2016-05-18 18:54:31 +01:00
Daniel James
ddbe2d277e Reindent interpret. 2016-05-18 18:54:31 +01:00
Daniel James
2059fc7c22 Convenience function for checking regexp matches. 2016-05-18 18:54:19 +01:00
Daniel James
e1f29e7df7 Hopefully better node representation. 2016-05-18 18:54:19 +01:00
Daniel James
831fc57a2e Partials. Just from an array for now. 2016-05-18 18:54:19 +01:00
Daniel James
e8922d0698 Move parameters into a class, implementing proper lookup. 2016-05-18 18:54:18 +01:00
Daniel James
3bbbb5d883 Remove pointless array member. 2016-05-18 18:54:18 +01:00
Daniel James
59bbb4cb3d Small clean-up. Mainly renaming variables. 2016-05-17 09:10:10 +01:00
Daniel James
7ea257f921 Single stack. 2016-05-17 09:10:10 +01:00
Daniel James
d26b41a12e Update comment. 2016-05-17 09:10:10 +01:00
Daniel James
5d71cde30c Support delimiters. 2016-05-17 09:10:10 +01:00
Daniel James
2487142d91 First stab at dotted variables. 2016-05-11 09:37:20 +01:00
Daniel James
34b41aa161 Remove pointless square brackets. 2016-05-11 09:37:19 +01:00
Daniel James
ecbcd71de8 Handle lists of values.
I don't think I need to check for any types other than objects/arrays
here. But I'm more interested in handling arbitrary templates than
arbitrary data.
2016-05-11 09:37:19 +01:00
Daniel James
9b6064dbb7 Slightly better error handling. 2016-05-11 09:37:17 +01:00
Daniel James
dd5eeeac38 Detect when tags fail to parse. 2016-05-11 09:37:03 +01:00
Daniel James
975d35a3cd Some more things that aren't supported. 2016-05-11 09:13:02 +01:00
Daniel James
5162e5d86e Handle standalone tags.
Messy!
2016-05-11 09:13:02 +01:00
Daniel James
8e3366480a Get operator details before processing text.
Need to know the operator to handle standalone tags.
2016-05-11 09:13:02 +01:00
Daniel James
5e1ade2227 Allow whitespace in tags. 2016-05-11 09:13:02 +01:00
Daniel James
a14549192a Function to render template to string. 2016-05-11 09:13:01 +01:00
Daniel James
1a3dedd63b Update comment on Mustache support.
Might support lambdas? But don't think partials or set delimiters are
worth the bother.
2016-05-11 09:13:01 +01:00
Daniel James
1bb1664ad4 Unescaped html 2016-05-11 09:13:01 +01:00
Daniel James
7e1ecb8830 Named subpatterns. 2016-05-11 09:13:01 +01:00
Daniel James
d16dd734f4 Template comments. 2016-05-11 09:13:01 +01:00
Daniel James
6dcd19cb00 Turn on DOTALL and MULTILINE flags. 2016-05-11 09:13:01 +01:00
Daniel James
3eb7a67899 Extended PCRE syntax. 2016-05-11 09:13:01 +01:00
Daniel James
fe7b6e1d34 Move template code into its own file. 2016-05-11 09:13:01 +01:00