Daniel James
65f53470aa
Remove $info stuff from BoostLibrary.
...
Module + path can be set after construction. This will be useful when
loading from a release without the git metadata. Also, the $info stuff
was pretty rubbish.
2015-04-21 00:20:08 +01:00
Daniel James
652cee39fb
Don't include unreleased libraries in release list by default.
2015-01-10 13:44:58 +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
b22054c9b0
Another fix for old versions of php.
2015-01-06 00:39:09 +00:00
Daniel James
2fb1921b9b
Comment out check that libraries has version info.
...
I'm now generating json for develop and master, which contains libraries
with no version info. There are other issues to deal with that might
point to a better solution.
2015-01-06 00:26:01 +00:00
Daniel James
5d9121f71f
Clean up some library details handling code.
2014-08-20 20:08:32 +01:00
Daniel James
af3ed55028
Remove 'update-version' from BoostLibrary details.
...
It really shouldn't be stored in BoostLibrary at all, but it makes it a
tad easier to have the object readily available.
2014-08-20 20:08:32 +01:00
Daniel James
2d47ea67b8
Clean up module details.
...
Now set when BoostLibrary is constructed, so the data should always be
correct.
2014-08-20 20:08:31 +01:00
Daniel James
66744b51ab
Use $info parameter for BoostLibraries methods.
2014-08-20 20:08:31 +01:00
Daniel James
6fb91aaf33
Extract some methods dealing with library details.
2014-08-20 20:08:31 +01:00
Daniel James
a713234ed9
Create BoostLibrary for a library's info.
2014-08-20 20:08:31 +01:00
Daniel James
aaed6a4525
Merge branch 'master' into beta
...
Conflicts:
common/code/boost_archive.php
generated/libraries.txt
2014-08-19 17:14:29 +01:00
Daniel James
4ee64c3d8c
Don't escape unicode in json.
2014-08-18 16:12:55 +01:00
Daniel James
62e559ac8a
Class for boost_utility for autoloading.
2014-08-07 20:34:30 +01:00
Daniel James
c4c3fa8ce6
Rename boost_libraries to BoostLibraries.
2014-08-07 20:34:30 +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