-
Notifications
You must be signed in to change notification settings - Fork 1
/
CHANGES
89 lines (58 loc) · 3.44 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
Change Log
-----------
Not yet released:
- Removed usage of ereg() function, which no longer exists in PHP 6.
- BUGFIX: Fixed issue parsing the HTTP_ACCEPT_LANGUAGE header which resulted in the
country part being ignored (so for example, 'en-US' would be stripped to just 'en'.)
- BUGFIX: Fixed another regex error causing problems for running on Windows systems.
Version 1.4:
- PHP-Mesh now supports multi-language decorators. A decorator called "default" will
result in a lookup for "default.zh-CN.php" if the language is set to zh-CN. Fallback
is as always, to "default.php".
- When running outside of Apache, we now also look at SCRIPT_FILENAME to find out where
the script is running from, which fixes finding .phpmeshrc on some less friendly web
hosting setups.
- BUGFIX: Fixed issue where it would only find the first property.
- BUGFIX: Fixed formatter output for http-equiv, which would previously print "name="
instead of "http-equiv=".
- BUGFIX: Fixed a regex error which was causing problems for running on Windows systems.
- BUGFIX: Fixed assignment bug which prevented default values working correctly (thanks to
Dimitri De Franciscis)
Version 1.3:
- PHP-Mesh no longer requires .phpmeshrc to exist in the document root. It will search the
current directory, then the parent, all the way up to the document root. This is done using
the Apache functions so it will handle aliased directories as well.
- The example now works so that the user should only have to copy the example into the web
server and modify its .htaccess file.
Version 1.2.2:
- BUGFIX: Fixed incorrect name for $property_name which was making the get_property
function not work as expected (thanks to a couple of my users for spotting that one.)
Version 1.2.1:
- BUGFIX: Fix problems with detecting absolute paths on Windows by using the new function
resolve_path, rather than relying on POSIX conventions.
- Added utils.php, with some common utilities which I'll need to make things more portable.
Added the unit tests at the same time.
Version v1.2:
- FEATURE REQUEST: Query strings are now supported with $page->apply_decorator(), so you can
now decorate pages like "../portlets/somepage.php?value=5".
- Added the "identity" decorator to work natively. decorator=identity in the query string
now causes all buffering to be bypassed.
Version v1.1:
- FEATURE REQUEST: Made $REQUEST_URI easily available through $page.
Version v1.0:
- FEATURE REQUEST: Made regular expressions match the upper-case HTML tags of old.
- FEATURE REQUEST: $DOCUMENT_ROOT variable is not present when server globals are disabled,
so use $_SERVER[] instead.
Version v0.5:
- Implemented the 'apply_decorator' function on the Page class, which allows decorators to
be applied to pages on demand. Currently implemented only from the decorators themselves,
but it might be advantageous to allow this on pages even though I can't see a use for it
just yet.
This provides portal-like functionality, automatically embedding a page which works
standalone, such that it will work as a fragment.
- Abstracted decorator location and execution logic into two new classes: DecoratorSelector
and Decorator respectively.
- Changed many method and variable names, bringing them more inline with SiteMesh's tag names
where appropriate and making naming scheme more PHP-like.
Version 0.1:
- Initial release.