Daniel James
d404463956
TODO notes where might want to use hidden libraries.
...
Currently just pretend they don't exist.
2016-07-04 23:31:35 +01:00
Daniel James
23e0d6c01e
Add support for status=hidden.
2016-07-04 23:14:29 +01:00
Daniel James
aafca815c0
Remove transitional code.
2016-07-04 22:45:50 +01:00
Daniel James
2679edc6fa
Script to change 'module' to 'library_path' in metadata.
2016-07-04 22:45:49 +01:00
Daniel James
c97dd3c96c
Allow update_finish to be called without a version parameter.
2016-07-04 22:45:49 +01:00
Daniel James
0cfef1fceb
Store library path in metadata, instead of module.
...
This allowed me to simplify some of update-doc-list as there's no longer
any need to work out the module for a library. This might break
update-doc-list in places. Will work on that next.
2016-07-04 22:45:49 +01:00
Daniel James
f160d6cc55
Autoload URL handling.
2016-05-26 00:12:07 +01:00
Daniel James
dfd1358f68
Make sure every category has a library array.
2016-05-25 14:41:06 +01:00
Daniel James
94fc1afd9d
Remove the restriction on miscellaneous libraries.
2016-02-28 23:44:27 +00:00
Daniel James
c1ec0057eb
Stop a useless message.
...
Was just creating noise. Possibly should just let libraries use
miscellaneous as they want.
2016-01-10 15:18:25 +00:00
Daniel James
140b6c042e
Rejig the update mechanism.
...
Now cleans up the database even when there are no updates. Updating for
a relese is better integrated. And also sets up the ground work for
deleting libraries.
2015-11-15 15:08:32 +00: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
f3402a42f2
Mark beta releases + overwrite for final release.
...
Still have to remove libraries manually, so if a library isn't in a
release will need to do that.
2015-11-15 15:08:32 +00:00
Daniel James
7c34d9b9d4
Normalize categories propely when loading from metadata.
...
This was causing superfluous entries in the library history.
2015-11-14 20:50:44 +00:00
Daniel James
ca1055f2e3
Remove use of ENT_XML1.
...
Not available in php 5.3.
2015-10-12 22:44:45 +01:00
Daniel James
43363a2a32
Self-closing element for startElement;endElement.
2015-10-12 21:52:29 +01:00
Daniel James
1b63392439
Implement outputMemory's flush parameter.
2015-10-12 21:52:29 +01:00
Daniel James
d2e39b26c1
Slightly abstract writing in BoostLibraries_XMLWriter.
...
Might later expand it to support more of XMLWriter, such as writing to a
resource (openURI).
2015-10-12 21:52:28 +01:00
Daniel James
399f3b528b
Hacky emulation of XMLWriter.
...
XMLWriter isn't always available, so this will do as a replacement. I
wonder if it would have been easier to convert the code to create a
DOMDocument or something similar.
2015-10-12 21:52:28 +01:00
Daniel James
7479780ad1
Handle missing category in library data.
2015-05-16 12:13:19 +01:00
Daniel James
6bff54b597
Another fix for old php.
2015-05-12 02:22:10 +01:00
Daniel James
93a3d601a9
Will hopefully fix the library list.
2015-05-12 02:21:21 +01:00
Daniel James
fd367cf81a
Only allow 'Miscellaneous' libraries that aren't in other categories.
2015-04-27 00:07:19 +01:00
Daniel James
1beb15a282
Validate categories when updating library data.
...
Just a quick implementation for now, should be done more generally.
2015-04-21 00:32:12 +01:00
Daniel James
7db317dd25
Create json output from array of BoostLibrary.
2015-04-21 00:20:08 +01:00
Daniel James
b70a11aa95
Remove the $info stuff.
2015-04-21 00:20:08 +01:00
Daniel James
061dd50a41
Update from array of BoostLibrary rather than BoostLibraries.
...
The code was pretty messy because it was using BoostLibraries for
everything, this will hopefully let it be a bit cleaner.
Also removes support for xml metadata files. No one has ever used it.
2015-04-21 00:20:08 +01:00
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