(this page is translated by Google; We're working hard on a human translation)
Changelog
Version 2.0 Beta 2
rev. 208
- use
$texy->setOutputMode(...)Between switch to HTML / XHTML, Strict / Loose modes. Parameter with one of theses constants:Texy::HTML4_TRANSITIONAL,Texy::HTML4_STRICT,Texy::XHTML1_TRANSITIONAL,Texy::XHTML1_STRICT -
Texy::$strictDTD&$texy->htmlOutputModule->xhtmlare deprecated
rev. 206
- new constants
Texy::FILTER_ANCHOR&Texy::FILTER_IMAGE
rev. 202
- removed support for PHP 4 & PHP 5.0.x
rev. 195
- Support for multiline text blocks and cells in tables
- URL shortening can be controlled over
$texy->linkModule->shorten
rev. 192
- the pictures can choose between the required size
[* image 10x20 *]and maximum[* image 10X20 *]with a small or largeX
rev. 185
- implemented Nette_Object from net Framework. Replaced TexyBase
rev. 181
- TexyHtml: $ Children is now private. The children are treated through ArrayAcces interface ( see )
rev. 180
- not include a
­the URL
rev. 179
- NOTE: Renaming TexyHtml:: add () → create (), TexyHtml:: addChild () → add () ( reasons )
- version of PHP4: emulation class Exception and throw
- smarter detection of emails and URLs in the text
rev. 178
- TexyTableModule - odd behavior modification & evenClass (see forum )
- default handler htmlTag 'returns object instead of string TexyHtml
- handler, paragraph 'can be called with NULL parameter as a modifier (note that this handler will be in the next revision substantially changed)
- changes in internal and TexyHtml TexyModifier (in $ classes are now heading key field)
rev. 177
- Added $ texy-> alignClasses (see forum )
rev. 176
- Added $ texy-> headingModule-> moreMeansHigher (see forum )
- tables in the newly added elements
<thead>and<tbody> - Smarter division table on head & body
rev. 175
-
$texy->htmlOutputModule->xhtml- switch XHTML / HTML mode
rev. 173
- $ texy field-> headingModule-> TOC instead of heading id 'contains an item, e-mail's title and TexyHtml element, title' is generated at $ generateID
rev. 169
- refactoring: added TexyBase & TexyException
rev. 156
- New API methods TexyHtml: toText () & TexyHtml:: toHtml () to export part of the DOM
rev. 155
- new system handlers. Removed
$texy->handlerand constantTexy::PROCEED. Added$texy::addHandler(). More at the Forum
rev. 150
- All examples now work in PHP 4 only need to "inkludovat" Texy appropriate version.
- version for PHP 5 support for backward compatibility and the original constants
TEXY_ALL,TEXY_NONE,TEXY_HEADING_DYNAMIC,TEXY_HEADING_FIXED,TEXY_PROCEED,TEXY_CONTENT_*
rev. 131
- package now includes a version of PHP4
- new configuration functions TexyConfigurator: disableLinks & TexyConfigurator: disableImages
- $ Texy-> safemode () allocated to a new static class TexyConfigurator. Use TexyConfigurator: safemode ($ texy).
- revoked trustMode () - this is the default setting Texy
- mbstring.func_overload fix
- brought back $ texy-> tabWidth
rev. 126
- internal DTD validator $ texy-> htmlOutputModule now controls the force attributes
- Fixed a bug before entering attributes modifier
- name change $ texy-> formatterModule → $ texy-> htmlOutputModule
Rev. 113
- Improved syntax lists, see the forum
- activated typographical adjustments in the attributes title
Beta version 2.0 (rev. 111)
- much better output, a completely new API, the perfect support for their handlers, fixed many bugs
Class Texy
- removed
$texy->utf, instead$texy->encodingwith baselineutf-8 - Texy output will use all the features of the encoding
$texy->encoding. Only those who are not in the encoding, replace the numeric entity - A new feature
$texy->allowed- United permitting and prohibiting the syntax, see the Modules - a new way of masking email
- A new feature
$texy->urlSchemeFilters(described in the documentation) - $ Texy-> safemode () allocated to a new static class TexyConfigurator. Use TexyConfigurator: safemode ($ texy).
- revoked trustMode () - this is the default setting Texy
- A new feature
$strictDTD- can switch between strict and transitional DTD - change the names of modules:
- $ Texy-> imageDescModule → $ texy-> figureModule
- $ Texy-> smiliesModule → $ texy-> emoticonModule
- $ Texy-> quickCorrectModule → $ texy-> typographyModule
-
Texy::safeMode()syntax offlink/definition(see below) and slightly modified is a table of allowed tags (see source code) - New features
Texy::normalize()- adjust the text to the standard form (remove spaces right hand, consolidate the separator, ...) - New features
Texy::webalize()- adjust text into a web identifier ('žlutý kůň'→'zluty-kun') - removed
Texy::addReference()andTexy::getReference(), replacement of modules and linkModule imageModule - Support for escaped characters: *)
- then
\ *testis seen as a*test, not\<em>test - analogy can be used modifier in parenthesis:
"blabla .(to je (můj\ ) názor)" - another escaped character, see tableModule
- then
- Texy: Summary field is now
- constant
TEXY_ALL,TEXY_NONE,TEXY_HEADING_DYNAMICandTEXY_HEADING_FIXEDnow:Texy::ALL,Texy:NONE,TexyHeadingModule::DYNAMICandTexyHeadingModule::FIXED - Backwards compatibility function and the original constants
TEXY_ALL,TEXY_NONE,TEXY_HEADING_DYNAMIC,TEXY_HEADING_FIXED - Added constant Texy:: VERSION
- activated typographical adjustments in the attributes title
- compact library renamed
texy-compact.php→texy.compact.php
modules in general
- in all modules removed property
$allowed - Each has its own identifier syntax (eg,
table,html/tag,heading/surrounded...) - different syntax is allowed through (eg)
$texy->allowed['table']= TRUE or FALSE - remove all handlers (except scriptModule-> handler) - instead of the central administration over
$texy->addHandler
blockModule
- Support for nested blocks (div)
- each block can be connected to its own handler
block(see examples, syntax highlighted by ') - on / off syntax:
$texy->allowed['blocks'](bulk) - individual through:
block/default,block/pre,block/code,block/html,block/text,block/texysource,block/comment,block/div - description of the different types of blocks in the documentation
emoticonModule
- compensation for smiliesModule
- New Feature
$fileRoot(see imageModule) - for each emoticons can be connected to its own handler
emoticon - on / off syntax:
$texy->allowed['emoticon']
figureModule
- compensation for imageDescModule
- property
$boxClassrenamed$class - A new feature
$widthDelta- for floating wonderland set their width. It is calculated as image width +$widthDelta - each image can be linked with popisknou own handler
figure(see example, Figure and Definition List ') - on / off syntax:
$texy->allowed['figure']
headingModule
- weight dynamic headlines calculated slightly differently
- A new feature
$generateID- Enable automatic generation ID for subtitles - A new feature
$idPrefix- text prefix for automatically generated ID - A new feature
$TOC- Here is a list of all the headlines, and their level of ID - for each title can be linked to its own handler
heading - on / off syntax:
$texy->allowed['heading/surrounded']&$texy->allowed['heading/underlined']
horizLineModule
- now only accepts registration
-------a******* - the horizontal line can be connected to its own handler
afterHorizline - on / off syntax:
$texy->allowed['horizline']
htmlModule
- A new feature
$passComment- whether HTML comments leak or devour - aside
$allowedComments(for$texy->allowed) - to any HTML tag can be linked to its own handler
htmlTag - for each HTML comment can be linked to its own handler
htmlComment - on / off syntax:
$texy->allowed['html/tag']&$texy->allowed['html/comment']
imageModule
- new smart preloader - no need to add any JavaScript!
-
$rootPrefixrenamed to$fileRoot- default value is extracted smarter way - A new class
TexyImage, which is a marker image (see source code), and the methods used by other handlers - New methods
addReference()&getReference()- programming and finding a picture to add references - for each image can be linked to the handler's own
image(see example, Images') - on / off syntax:
$texy->allowed['image']&$texy->allowed['image/definition']
linkModule
- aside
$emailOnClick(can substitute handler) - deleted automatically before entering ftp:// links in the shape ftp.xxx
- Improved support for
$forceNoFollow - A new class
TexyLink, which is a reference marker (see source code), and the methods used by other handlers - New methods
addReference()&getReference()- Added programming and finding references - for each reference can be connected to its own handler
linkReference(see example, References') - found on each URL and email can be linked to its own handler
linkURLrespectively.linkEmail - on / off syntax:
link/reference,link/email,link/url,link/definition
listModule
- now accepts and typographic indent
- the ready list can be linked to its own handler
afterListrespectively.afterDefinitionList - on / off syntax:
$texy->allowed['list']respectively.$texy->allowed['list/definition'] - Improved syntax lists, see the forum
- TexyDefinitionListModule incorporated into TexyListModule
longWordsModule
- on / off syntax:
$texy->allowed['longwords'] - abolished properties
$shy a $nbsp - gives better results
phraseModule
- New syntax
//kurzíva// - new syntax
x^2→x<sup>2</sup> - new syntax
O_2→O<sub>2</sub> - new syntax notexy
- Syntax
++inserted++ --deleted-- ^^superscript^^ __subscript__ ~~cite~~off by default - A new feature
$linksAllowed- can collectively disable links with phrases - in each phrase can be linked own handler
phrase(see example, Links')
blockQuoteModule
- the finished building can be connected to its own handler
afterBlockquote - on / off syntax:
$texy->allowed['blockquote']
scriptModule
- Support for new registration, in addition to
{{fnc(arg, arg)}is the{{fnc:arg, arg}} - Call
{{texy(...)}}is reserved - Modified: scriptModule handler-> handler as the first parameter passes
$parserinstead of$texy(use$parser->texy) - on / off syntax:
$texy->allowed['script']
tableModule
- support for escaping characters
| - the table can be connected to its own handler
afterTable - on / off syntax:
$texy->allowed['table']
typographyModule
- compensation for quickCorrectModule
- has much better outcomes & added internationalization
- New Feature
$locale(default, cs') sets the national specificities - directly supported yet en, fr, de, pl
- The following indivisible space before the last word or a smiley in paragraph (to get itself on a new line)
- New syntax:
(EUR)→ sign € - Improved syntax:
-- = –a--- = — - Improved syntax:
----->Long arrows - on / off syntax:
$texy->allowed['typography']
htmlOutputModule
- ensures that the output of Texy is called well-formed, cross correcting invalid tags, etc.
- Out now controls more precisely, taking into account
$strictDTD - switch XHTML / HTML mode
$texy->htmlOutputModule->xhtml
TexyDOM and inherited classes
- removed, the replacement is TexyHtml (similar nHtml see http://phpfashion.com/ programmer ... )
- property TexyHtml:: $ xhtml - switch between HTML and XHTML output
- all handler is now operating with elements represented by this object, handling is extremely easy
TexyConfigurator
- configures an existing object Texy
- function TexyConfigurator: safemode, TexyConfigurator: disableLinks & TexyConfigurator: disableImages
Version 1.1b
1st 2nd 2007
- NEW: Supports variables in links
- FIX: fixed table TexyLongWordsModule & TexyQuickCorrectModule
- FIX: TexyFormatterModule (missing spaces in the HTML blocks)
- CHG: displayed HTML comments
Version 1.1
6th 6th 2006
Corrected and improved handling of entities:
- FIX: Texy now ignores unknown entity name (this was about the only thing that could cause a non-well-formed output, so definitely upgrade to 1.1).
- CHG: the output is now sent to all entities in the form of numerical
&#**;except& " < >. It solves problems with some RSS readers, etc. - FIX: Corrected incorrect processing entities in toText ()
- CHG: toText () will also be removed
­and converted into common spaces - Note: If you do not use UTF-8 and toText () will require the extension of iconv . In PHP 5 is available by default.
Version 1.0 Final
18th 4th 2006
- FIX: toText () removes the cross
- FIX: link without the quotes in the code tag
- FIX: Clickable image with caption (and also )
- FIX: Compatibility with new versions of PHP
- FIX: it does not emit empty attributes ( demo )
- CHG: changed the character of the trademark
™to™ - CHG: default
altfor images is now an empty string
Extension functions:
- NEW: user attributes
- CHG: allowed tags available over
$texy->allowedTagsshould in future replace the$texy->htmlModule->allowed - NEW: new mode line breaks via
$texy->mergeLines = false - INT: PHP5-like constructors
Fix for 1.0rc5
22nd 7th 2005
- FIX: Compatibility with a strange version 4.4.0 and PHP 4 March 1911 ( see Forum )
Fix for 1.0rc5
30th 5th 2005
- CHG:
<td></td>adjusted to<td> </td>
Version 1.0rc5
25th 5th 2005
- CHG: Warning: The names for Callback:
-
$texy->blockModule->codeHandlerinstead of$texy->blockModule->userFunction -
$texy->referenceHandlerinstead of$texy->userReferences
-
- CHG: Attention: modifier must always be preceded by a space ( demo )
- NEW: support for comments Texy § § ( demo )
- NEW: Quick Links
test :[url]( demo ) - NEW: improved HTML reformatting ( demo , forum )
- NEW: loading external data, such as
{{ getPrice(produkt) }}( forum ) (sponsor of this function is the development company Internet Mall , Inc.)
Version 1.0rc4
16th 3rd 2005
- NEW: new tricks - block
/-- source - CHG: Each module has a shortcut (reference) in the format
$texy->xyzModule - CHG: activation of the UTF over
$texy->utf = true; - CHG: improved tables
- CHG: change syntax of numbered lists:
- is able to configure the syntax, eg
$texy->listModule->allowed['*'] = false - modified entry in the form first ... 2 ... because it collided with writing data to the start line
- modified entry in the form I. ... II. ... Because it collided with the initials at the beginning of the line
- Use either 1) ..... 2) ..... I) ..... II) ......
- or "spotty" record, but followed by at least two mA spaces
- is able to configure the syntax, eg
Version 1.0rc3
9th 3rd 2005
- NEW: support
<caption>, demo - NEW: A new example of "user syntax," shows how to add or change the syntax
- NEW: Compact single-file version is ideal if you do not modify the code, but only used on the server
- CHG: TexySmiliesModule module is activated over
$allowed = true;see an example of "smilies" - other minor changes in the behavior of
$allowedfor other modules
Version 1.0rc2
27th 2nd 2005
- NEW: Methods
safeMode()andtrustMode() - NEW: TexyHtmlModule module: - the list of allowed tags determines the variable $ Allowed
- CHG: TexyBlockModule module:
- showed that the block
/--notexymeets all the requirements, so it is replaced by blocks/--textand/--html. Demo
- showed that the block
Version 1.0rc1
23rd 2nd 2005
- NEW: image height & width support attributes, including auto-or manual assignment. The syntax is
[* image.gif 50x30 *] - NEW: In addition to dynamic captions can be used as fixed. More information can be found in the example, Headings'
- FIX: Support for "long smileys" as
:-)))))





