|
1 | | -PHP Bundle for TextMate |
2 | | -======================== |
| 1 | +# Installation |
3 | 2 |
|
4 | | -Version 3.0.1 [2010-03-03] |
5 | | --------------------------- |
| 3 | +You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you. |
6 | 4 |
|
7 | | -Contributors: Josh Varner <[email protected]> |
| 5 | +# General |
8 | 6 |
|
9 | | -* Fixes in the language grammar for class instantiations using variable class names |
| 7 | +* [Bundle Styleguide](http://kb.textmate.org/bundle_styleguide) — _before you make changes_ |
| 8 | +* [Commit Styleguide](http://kb.textmate.org/commit_styleguide) — _before you send a pull request_ |
| 9 | +* [Writing Bug Reports](http://kb.textmate.org/writing_bug_reports) — _before you report an issue_ |
10 | 10 |
|
| 11 | +# License |
11 | 12 |
|
12 | | -Version 3.0.0 [2010-03-02] |
13 | | --------------------------- |
| 13 | +If not otherwise specified (see below), files in this repository fall under the following license: |
14 | 14 |
|
15 | | -Contributors: Josh Varner < [email protected]> |
| 15 | + Permission to copy, use, modify, sell and distribute this |
| 16 | + software is granted. This software is provided "as is" without |
| 17 | + express or implied warranty, and with no claim as to its |
| 18 | + suitability for any purpose. |
16 | 19 |
|
17 | | -* Updated function lists and completion lists to be in line with PHP 5.3.1 |
18 | | -* Added script to make `functions.plist` completions file from `functions.txt` |
19 | | -* Added support in language grammar for: |
20 | | - * Namespaces |
21 | | - * Interfaces extending other interfaces |
22 | | - * Multi-line `class`/`extends`/`inherits` areas (before `{` or `;`) |
23 | | - * Anonymous function declarations |
24 | | - * Closure calls and `__invoke` calls |
25 | | - * New magic methods (`__invoke`, `__callStatic`, and so on) |
26 | | - * Nowdoc support (essentially Heredoc but without interpolation) |
27 | | -* Reformatted `README` in Markdown |
28 | | -* Updated test-cases.php with examples for these new language |
29 | | - |
30 | | - |
31 | | -Version 2.0beta6 [2005-03-04 ] <[email protected]> |
32 | | ----------------------------------------------------- |
33 | | - |
34 | | -Contributors: Justin French, Sune Foldager, Allan Odgaard, Matteo Spinelli, Kumar McMillan, Mats Persson |
35 | | - |
36 | | -### PHP.plist ### |
37 | | - |
38 | | -* amended "comments.block.phpdocs.php" to highlight until end of line |
39 | | -* amended "keywords.operators.comparison.php" to prevent highlighting of <?php ?> tags |
40 | | - |
41 | | -Also added a reworked HTML (PHP) and added CSS (PHP) and JavaScript (PHP) syntaxes. These syntax files may still have some issues, visual bugs or missing words/tags/attributes, etc. If you find any fault, please let me know. Thanks! |
42 | | - |
43 | | -### HTML (PHP).plist ### |
44 | | - |
45 | | -A reworking/rebuilding of the existing HTML-PHP syntax for more fine-grained control of tags, attributes and values, as well as some additions from the main HTML syntax file. |
46 | | - |
47 | | -* changed text formatting for better readability of syntax structure |
48 | | -* changed syntax colouring to a darker more easy to read scheme (temporary display where all syntax groups have a unique colour) |
49 | | -* added "macros.server-side-includes.html" for Server Side Includes syntax. |
50 | | -* added "meta.docinfo.xml.html" for `<?xml..>` highlighting |
51 | | -* removed "keywords.markup.tags.html" and "keywords.markup.tag.options.html" replaced with improved elements and attributes syntax groups (see next two points) |
52 | | -* added "keywords.markup.elements.html" with named html elements so that only proper HTML tags are highlighted |
53 | | -* added "keywords.markup.attributes.html" with named attributes so that only proper attributes are highlighted |
54 | | -* changed "embedded.php" to "embedded.php.html" |
55 | | -* added "embedded.css.html" for CSS syntax inside HTML files (see below for more info) |
56 | | -* added "embedded.js.html" for JavaScript syntax inside HTML files (see below for more info) |
57 | | - |
58 | | -### CSS (PHP).plist ### |
59 | | - |
60 | | -Added a CSS syntax for PHP which is also a complete reworking/rebuilding of the existing CSS syntax for more fine-grained control of selectors, properties and values. |
61 | | - |
62 | | -* text formatted for better readability of syntax structure |
63 | | -* temporary syntax colouring in line with other files in this package for easier to read scheme (all syntax groups have a unique colour) |
64 | | -* added/reworked "keywords.selectors.css" syntax group enabling unique syntax colouring for each sub-pattern |
65 | | - * "keywords.selectors.html-elements.css" with named `<tags>` |
66 | | - * "keywords.selectors.classes.css" for User Defined .Classes |
67 | | - * "keywords.selectors.id.css" for User Defined #IDs |
68 | | - * "keywords.selectors.pseudo-class.css" for :hover, :visited etc. |
69 | | -* added "keywords.at-rules.css" for @import or @media syntaxes. |
70 | | -* added "keywords.properties.css" for named properties values; |
71 | | -* added/reworked "keywords.properties.values.css" with sub syntax groups |
72 | | - * "keywords.properties.values.keywords.css" for CSS value keywords, like top, left, inherit etc. |
73 | | - * "keywords.properties.values.fonts.css" for common Fonts, or "quoted fonts" |
74 | | - * "keywords.properties.values.digits.css" for displayed numbers. = 10px |
75 | | - * "keywords.properties.values.units.css" for px/em/cm/pt/% etc, |
76 | | - * "keywords.properties.values.colors.css" for #FFFFFF colours |
77 | | - * "keywords.properties.values.functions.css" for url(),rgb() etc. with sub patterns for strings, rgb colour and % values. |
78 | | - |
79 | | -### JavaScript (PHP).plist ### |
80 | | - |
81 | | -Added a JS syntax for PHP which is also a complete reworking/rebuilding of the existing JavaScript syntax for more fine-grained control of Objects, Methods and properties. |
82 | | - |
83 | | -* text formatted for better readability of syntax structure |
84 | | -* temporary syntax colouring in line with other files in this package for easier to read scheme (all syntax groups have a unique colour) |
85 | | -* added "comments.html.js" for supported `<!--` tags inside `<script>` tags in HTML. |
86 | | -* changed "keywords.js" to "keywords.reserved.js" and added all known reserved keywords |
87 | | -* added "keywords.objects.js" syntax group with named JS Objects (currently set to be case-insensitive, but can be changed to case sensitive) |
88 | | -* added "keywords.methods.js" syntax group with named JS methods (case-sensitive) |
89 | | -* added "keywords.properties.js" syntax group with named JS properties (case-sensitive) |
90 | | -* added "keywords.event-handlers.js" syntax group with named JS Event-handlers (case-sensitive) |
91 | | -* added "keywords.operators.js" syntax group with complete range of operators |
92 | | -* added "constants.js" for JavaScript defined constants |
93 | | -* disabled "strings.regex.js" as it cuts out syntax colouring. Needs more work. |
94 | | - |
95 | | -### Other ### |
96 | | - |
97 | | -Also added a number of generic snippets. |
98 | | - |
99 | | - |
100 | | -Version 2.0beta5 [2005-02-28 ] <[email protected]> |
101 | | ----------------------------------------------------- |
102 | | - |
103 | | -* changed text formatting for better readability of syntax structure |
104 | | -* changed syntax colouring to a darker more easy to read scheme (still experimental) |
105 | | -* changed Comments-> "PHPDoc tags" to "comments.block.phpdocs.php" for better TM stylesheet support |
106 | | -* changed "keywords.control.php" syntax group to only deal with Control Structures. |
107 | | -* added "keywords.control.includerequire.php" syntax group for separate highlighting of include/require functions |
108 | | -* added "keywords.exceptions.php" syntax group to deal with Exception handling in PHP5 |
109 | | -* added "keywords.constructs.php" syntax group to deal with classes for PHP4/5 |
110 | | -* incorporated the Scope Resolution Operator `::` and `->` into the "keywords.constructs.php" syntax group |
111 | | -* added "keywords.constructs.members.php" syntax group for class member status declaration |
112 | | -* changed all "keywords.<php-built-in-functions>.php" to "keywords.functions.<php-built-in-functions>.php" for better TM stylesheet support |
113 | | -* incorporated the `[ => ]` into the "keywords.functions.array.php" syntax group |
114 | | -* added/reworked the Operators syntax group |
115 | | - * "keywords.operators.arithmetic.php" syntax group |
116 | | - * "keywords.operators.comparison.php" syntax group |
117 | | - * "keywords.operators.error-control.php" syntax group |
118 | | - * "keywords.operators.increment-decrement.php" syntax group |
119 | | - * "keywords.operators.logical.php" syntax group |
120 | | - * "keywords.operators.strings.php" syntax group |
121 | | - * "keywords.operators.type.php" syntax group |
122 | | - * removed "keywords.operators.arrows.php" syntax group as these were incorporated in other groups -> keywords.constructs & keywords.functions.array |
123 | | -* changed Variables-> "Superglobal Variable" syntax group to "keywords.variables.globals.php" |
124 | | -* amended list of variables in "keywords.variables.globals.php" to contain only the (validation required) globals |
125 | | -* added "keywords.variables.globals.safer.php" syntax group for safer (=non-validation required) global variables. |
126 | | -* changed Misc. -> "keywords.control.php" to "constants.php" and added a few good usability shortcuts (need to be define()'d in code ) |
127 | | -* moved "constants.numeric.php" syntax group to be part of Constants syntax group |
128 | | -* added "constants.core-predefined.php" syntax group |
129 | | -* added "constants.std-predefined.php syntax group |
130 | | - |
131 | | - |
132 | | -Version 2.0beta4 [2005-02-25 ] < [email protected]> |
133 | | --------------------------------------------------------- |
134 | | - |
135 | | -Contributors: Justin French, Sune Foldager, Allan Odgaard, Matteo Spinelli, Kumar McMillan |
136 | | - |
137 | | -* Added PHP Documentor snippets (snippet "phpdoc_u" prints usage) |
138 | | - |
139 | | - |
140 | | -Version 2.0beta3 [2005-02-24] |
141 | | ------------------------------ |
142 | | - |
143 | | -* Added PHP5 language constructs and PHPDoc tags to inline comments |
144 | | - |
145 | | - |
146 | | -Version 2.0beta2 [2005-02-23] |
147 | | ------------------------------ |
148 | | - |
149 | | -Under Allan suggestion I stripped out some functions from the list. |
150 | | - |
151 | | -### Stripped functions ### |
152 | | - |
153 | | -* Advanced PHP debugger functions |
154 | | -* Aspell functions |
155 | | -* PHP bytecode Compiler |
156 | | -* CCVS API Functions |
157 | | -* COM and .Net (any complains about this?) |
158 | | -* Cybercash Payment Functions (is someone really using them?) |
159 | | -* DBM Functions |
160 | | -* DOM Functions (most of them are class functions, don't know how to handle them exactly with code highlighting) |
161 | | -* DOM XML Functions (same as above) |
162 | | -* Hyperwave Functions |
163 | | -* Hyperwave API Functions |
164 | | -* ICAP Functions |
165 | | -* Ingres II Functions (removed as considered experimental) |
166 | | -* mailparse Functions |
167 | | -* MCVE Payment Functions |
168 | | -* Memcache Functions |
169 | | -* mnoGoSearch Functions |
170 | | -* Mohawk Software Session Handler Functions (I heard bugs about it) |
171 | | -* muscat Functions (here kitty-kitty-kitty!) |
172 | | -* Ncurses Terminal Screen Control Functions |
173 | | -* YP/NIS Functions |
174 | | -* OpenAL Audio Bindings |
175 | | -* PDO Functions |
176 | | -* Verisign Payflow Pro Functions |
177 | | -* XSL functions |
178 | | -* YAZ Functions |
179 | | - |
180 | | -Please let me know if you think I removed an important set of functions or you think I kept useless ones. |
181 | | - |
182 | | -I heard a new code colouring method is under development, so I am not working anymore on color scheme until the new TM version will be available |
183 | | - |
184 | | - |
185 | | -Version 2.0beta1 [2005-02-21] |
186 | | ------------------------------ |
187 | | - |
188 | | -Contributors: Matteo Spinelli |
189 | | - |
190 | | -* added all 3500+ PHP's functions, deprecated onces are also available but commented out |
191 | | -* all functions are grouped by topic/type and displayed alphabetically |
192 | | -* new color scheme |
193 | | - |
194 | | -Version 1.0 |
195 | | ------------ |
196 | | - |
197 | | -Contributors: Justin French, Sune Foldager, Allan Odgaard |
198 | | - |
199 | | -* commented out the auto-indent feature, because it helps some, and makes |
200 | | - life a real pain for others, depending on coding style |
201 | | -* PHP's 3500+ native functions aren't here yet -- just reserved words and |
202 | | - basic constants from the docs, plus the control structures and language |
203 | | - constructs |
| 20 | +An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”. |
0 commit comments