Daniel James
3e28274c53
Clean up some of the confusing version code
2016-11-14 22:54:08 +00:00
Daniel James
b6ca3886f3
Clean up library list/pull request + better error pages
2016-11-14 22:53:35 +00:00
Daniel James
c8f365bd26
Merge branch 'develop'
...
Pretty large development merge. Including:
- More robust PHP error handling.
- Automatically update release data from various sources. Manually
updating a json file was too error prone.
- Normalize hashes of release notes, so that they won't need to be
manually updated so often.
- Small improvements to quickbook page data.
- Cache html generated from quickbook - so no need to reparse when
changing release data. Much of the site can now be rebuilt without
installing quickbook, although changes in quickbook won't be included.
- Scripts in site-tools have are more consistent at the command line,
and all support '--help' (although some have very little information).
- Automatically update more of the site for new releases.
2016-10-30 19:57:32 +00:00
Daniel James
3e7ff0555c
Fix default sort for library list
2016-10-27 19:23:18 +01:00
Daniel James
796d1e636d
Fix documentation list
2016-10-27 19:20:59 +01:00
Daniel James
aad8876a69
Fix documentation list
2016-10-16 19:51:49 +01: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
f4472fc751
Website bootstrap file.
...
Sets up error handling and timezone, maybe other things in the future.
2016-09-29 02:08:52 +01:00
Daniel James
4dd37ac5f4
Sort display of sort links
2016-09-28 22:51:27 +01:00
Daniel James
45f3957e93
Fix the sort option
2016-09-28 22:47:53 +01:00
Daniel James
3bd06c1594
Cleaner code to decide whether to show documentation list.
2016-09-21 09:14:21 +01:00
Daniel James
9ba3d280ad
Quick hack to 404 documentation list for missing documentation.
2016-09-06 08:17:24 +01:00
Daniel James
9a7a44e073
Work when latest_version isn't set.
2016-08-24 17:26:27 +01:00
Daniel James
c6b6d62373
Always show developement branches.
2016-08-24 17:26:27 +01:00
Daniel James
7398e7e545
404 when requesting future documentation list.
...
Could also check for non-existant older versions, perhaps? Probably not
worth trying.
2016-08-24 17:16:20 +01:00
Daniel James
ddf45e503e
Tighten up the library display code a little.
...
Be a little more thorough about validating input. Main benefit is
cleaning up the links displayed on the page, which could contain
arbitray user supplied values.
2016-06-05 13:41:35 +01:00
Daniel James
80c11140c8
Add special versions 'hidden' and 'unreleased'.
...
So that 'boost-version' is never null.
2015-11-15 15:08:32 +00:00
Daniel James
66160d2fea
Move library loading into boost_libraries.
...
Still a bit shoddy, but at least it's only in one place.
2015-01-10 13:44:58 +00:00
Daniel James
b56b9fc54c
Don't show unreleased libraries in release documentation.
2014-08-21 20:22:33 +01:00
Daniel James
c4c3fa8ce6
Rename boost_libraries to BoostLibraries.
2014-08-07 20:34:30 +01:00
Daniel James
860cb21970
Custom html_encode to use UTF-8.
...
PHP 5.4 uses UTF-8 by default, but PHP 5.3 uses ISO-8859-1 so character
encoding is going wrong there. So replace htmlentities with a function
that uses the correct encoding.
2014-07-20 23:36:24 +01:00
Daniel James
8e68c0b2cb
'unreleased' for libraries without a version.
...
Assuming that a released library will have a 'boost-version' field.
2014-04-28 21:42:04 +01:00
Daniel James
7c32655b59
Better display of library details.
...
Don't assume the array entry is set, and htmlencode for output.
2014-04-28 21:42:04 +01:00
Daniel James
f8d9c39b34
Clean up the final page display a bit.
...
At least I think it's clearer.
2014-04-16 04:35:56 +01:00
Daniel James
ee57ff9dd8
No need to pass around categories now.
2014-04-16 04:35:56 +01:00
Daniel James
236dd6dfdd
Precalculate some of the link stuff.
2014-04-16 04:35:56 +01:00
Daniel James
7e38dcf337
Just stuff all the functions into the class.
2014-04-16 04:35:55 +01:00
Daniel James
054affe457
More verbose filter function.
...
I used to be quite keen on dense conditions. Now I seem to be regretting
that.
2014-04-16 04:35:55 +01:00
Daniel James
032b0bce5c
Doesn't seem possible to have category_value 'all'.
2014-04-16 04:35:55 +01:00
Daniel James
1b9443756f
Move much of library list implementation into class.
...
An attempt to structure the file a bit better. Actually makes the file a
bit bigger, but hopefully it will be a little easier to manage now.
2014-04-16 04:35:55 +01:00
Daniel James
e29bdb5fdc
Small improvements to some of the display functions.
2014-04-16 04:35:55 +01:00
Daniel James
341cc24990
No need to check for 'false'.
...
Because BoostLibraries does it already.
2014-04-16 04:35:55 +01:00
Daniel James
4e0dbc79c3
Move page title generation into BoostVersion.
2014-04-16 04:35:55 +01:00
Daniel James
78a6aa7733
More specific names for from_string/from_file.
2014-02-24 22:49:17 +00:00
Daniel James
baf07faaa8
Use static method to create boost_libraries.
2014-02-01 21:54:23 +00:00
Daniel James
3a438b196b
Move version checking code into boost_libraries.
2014-02-01 21:54:22 +00:00
Daniel James
186a4cc68f
Mark signals as deprecated in 1.54+
...
Plus code to allow libraries to be marked as deprecated.
[SVN r84774]
2013-06-14 06:58:44 +00:00
Daniel James
8fda3a3ce4
Merge versioned library info from beta.
...
Needed because polygon will have different information in 1.54 to older
releases.
[SVN r84383]
2013-05-20 08:21:27 +00:00
Daniel James
d943d39d07
Website: Merge from beta to live
...
[SVN r80314]
2012-08-29 22:37:51 +00:00
Daniel James
1aa26d9ea3
Website: Merge library list fix from beta.
...
[SVN r79024]
2012-06-20 21:49:42 +00:00
Daniel James
04e58c21cd
Website: Merge to live.
...
[SVN r76878]
2012-02-04 14:26:41 +00:00
Daniel James
206bbea4d0
Merge from beta. Release 1.46.0
...
[SVN r69135]
2011-02-21 23:21:06 +00:00
Daniel James
3e2e55ad7a
Merge some mall documentation improvements from beta.
...
[SVN r65026]
2010-08-26 20:43:01 +00:00
Daniel James
c2fdb386f0
Use a serialized version of the library info to speed up the library pages.
...
[SVN r64891]
2010-08-18 19:36:59 +00:00
Daniel James
fc89ae0449
On the main library list, use 'release' link.
...
This redirects to the lastest version. Slower than linking directly to
the version's documentation, but it should hopefully help google find
the permalink.
[SVN r63197]
2010-06-21 20:51:30 +00:00
Daniel James
cf7c5979ec
When displaying documentation check if this is a future version.
...
This is a bit of a hack, need better handling of versions.
[SVN r61982]
2010-05-15 10:47:11 +00:00
Daniel James
fb62d61697
Rename the style directory.
...
Rookie mistake, the website is getting a little messed up by cached css files.
Rename the style directory to work round this.
[SVN r61808]
2010-05-06 10:46:50 +00:00
Daniel James
40dcb7ce04
Prepare for 1.43.
...
[SVN r61800]
2010-05-05 21:43:08 +00:00
Daniel James
02a14525dd
Prepare for release.
...
[SVN r59428]
2010-02-02 17:52:15 +00:00
Daniel James
4a9b9bce3c
Prepare for release.
...
[SVN r57651]
2009-11-14 16:44:06 +00:00