Daniel James
4ee64c3d8c
Don't escape unicode in json.
2014-08-18 16:12:55 +01:00
Daniel James
4fdd326d07
Fix setting the documentation path.
...
It was wrong for modules where the module path doesn't match the module
name.
2014-08-06 20:02:11 +01:00
Daniel James
bbebb927ce
Set version on release.
...
A bit trickier than expected!
2014-08-06 20:02:11 +01:00
Daniel James
071434ac67
Remove some broken code.
...
This was meant to fill in missing boost version entries, but it didn't
work, and it's done properly in 'reduce_versions'.
2014-08-06 20:02:11 +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
b3dea6453d
Don't die on parse errors when updating.
2014-07-13 11:21:44 +01:00
Daniel James
f42a214afc
Half-hearted error handling.
2014-06-16 10:22:47 +01:00
Daniel
6a58669e05
Inherit boost-version metadata from previous version.
...
Does this fit in reduce_versions? It seems to. Maybe should make the
data structure a bit better, boost-version shouldn't change with new
releases so it could be part of some release independent data.
2014-06-09 11:55:26 +01:00
Daniel James
091ac11df2
Fix modules.
...
First remove some old code which guessed the module from the library's
key, this was there to bootstrap modules - no need now they're all
stored either in the documentation list, or implicitly by the location
of libraries.json.
Secondly, pass the name of the module as the parameter, rather than the
array containing the module data.
2014-06-08 23:00:51 +01:00
Daniel James
2776664692
Use 'and' for names lists.
2014-06-03 19:05:32 +01:00
Daniel James
61509415d6
Remove excluded fields from json last.
...
Doing it before the normalization can remove needed fields.
2014-06-03 19:05:32 +01:00
Daniel James
49704ac2ca
Factor out and improve version output stuff.
2014-04-28 21:42:04 +01:00
Daniel James
ec24f4ff58
Fix handling of boost-version.
...
It needs to be optional as a library might not be released yet.
2014-04-28 21:42:04 +01:00
Daniel James
83f1106294
Rebuild library list.
2014-04-13 14:24:47 +01:00
Daniel James
9df3d484b4
Convert std-proposal/std-tag to an array.
2014-04-13 14:24:47 +01:00
Daniel James
b0b9d198b0
Keep the libraries sorted by key
2014-02-28 09:12:48 +00:00
Daniel James
76f9b6dd1e
Better logic for setting version info.
2014-02-28 09:12:48 +00:00
Daniel James
f63dcb640d
Setting up the array in boost_libraries' constructor
2014-02-28 09:12:48 +00:00
Daniel James
5f9692f08d
Only implode name arrays when appropriate.
2014-02-28 09:12:48 +00:00
Daniel James
2d5375f0e9
Fix json import
2014-02-28 09:12:48 +00:00
Daniel James
c6e22ed10b
Fix some issues in to_json.
2014-02-27 08:07:50 +00:00
Daniel James
0a530c074e
Scrape maintainers from repo.
...
Should probably actually do this in create-module-metadata, as once the
metadata is in place this script should ignore the maintainers file. But
I didn't have much time tonight. So I won't check the changes into
libraries.xml. Also need to consider that 'maintainers' should probably
be backdated to apply to all versions. Maybe it shouldn't be store in
libraries.xml at all.
2014-02-26 23:56:00 +00:00
Daniel James
b8bce24245
Fix name of BoostVersion
2014-02-26 23:56:00 +00:00
Daniel James
4cf66b51cc
Add support for maintainers, and allow multiple authors/maintainers.
2014-02-24 22:49:17 +00:00
Daniel James
0f2df6f4df
Detect when a library has a new field.
2014-02-24 22:49:17 +00:00
Daniel James
fca7542d4f
Update from json or xml
2014-02-24 22:49:17 +00:00
Daniel James
56e5a8b906
Always normalize spaces.
...
It makes it easier to detect when a library's details have changes. I
could normalize when comparing, but this seems easier. It's okay to
lose this information.
2014-02-24 22:49:17 +00:00
Daniel James
702606aabc
Generate json metadata.
2014-02-24 22:49:17 +00:00
Daniel James
78a6aa7733
More specific names for from_string/from_file.
2014-02-24 22:49:17 +00:00
Daniel James
30859144ae
Move library prep back into constructor.
2014-02-24 22:49:17 +00:00
Daniel James
accf89928c
Pull xml parser out of the constructor.
2014-02-24 22:49:16 +00:00
Daniel James
5236cbae74
Fix documentation handling
2014-02-23 14:32:35 +00:00
Daniel James
fe955cedd3
Support latest changes to libraries format.
2014-02-23 14:32:35 +00:00
Daniel James
04ee442814
Add script to create metadata file for modules.
2014-02-23 14:32:34 +00:00
Daniel James
41fb1c416c
A little bit of documentation for boost_libraries
2014-02-23 14:32:34 +00:00
Daniel James
3cb769d321
Store the categories in order.
2014-02-01 21:54:23 +00:00
Daniel James
201c79c2c3
Add ability to update library details.
2014-02-01 21:54:23 +00:00
Daniel James
167a451191
Use version as index in library array.
2014-02-01 21:54:23 +00:00
Daniel James
baf07faaa8
Use static method to create boost_libraries.
2014-02-01 21:54:23 +00:00
Daniel James
3db38a77a3
Add module field.
2014-02-01 21:54:23 +00:00
Daniel James
c48bc55105
Die on invalid xml.
2014-02-01 21:54:23 +00:00
Daniel James
696dfdb11a
Generate xml from boost_libraries.
...
Run it on libraries.xml to "normalize" it.
2014-02-01 21:54:22 +00:00
Daniel James
427808b5e0
Sort the libraries by update.
...
So the last one that matches can be used.
2014-02-01 21:54:22 +00:00
Daniel James
d84c6d0419
Replace 'boost-min-version', 'boost-max-version' with 'update-version'
...
Picks the latest update.
There's now no way to remove a library, will probably do so by creating
an update with some xml representation of a removal.
2014-02-01 21:54:22 +00:00
Daniel James
f2990e2a1a
Always store min version.
2014-02-01 21:54:22 +00:00
Daniel James
b7cbe30c87
Store libraries in nested array.
...
A bit clunky.
2014-02-01 21:54:22 +00:00
Daniel James
3a438b196b
Move version checking code into boost_libraries.
2014-02-01 21:54:22 +00:00
Daniel James
7ebc19c9b5
Clean up category handling code.
2014-02-01 21:54:21 +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