Changelog

Version 2.0 Beta 2

rev. 208

  • use $texy->setOutputMode(...) to switch between HTML / XHTML, strict / loose modes. Parameter is one of these constants: Texy::HTML4_TRANSITIONAL Texy::HTML4_STRICT Texy::XHTML1_TRANSITIONAL Texy::XHTML1_STRICT
  • Texy::$strictDTD & $texy->htmlOutputModule->xhtml are 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 and blocks cells in tables
  • URL shortening can be controlled through the $texy->linkModule->shorten

rev. 192

  • for images it is possible to choose the desired size [* image 10x20 *] and maximum [* image 10X20 *] with a small or large X

rev. 185

  • implemented from Nette_Object Nette Framework. Replace TexyBase

rev. 181

  • TexyHtml:: $ children is now private. The descendants are accessed via ArrayAcces interface (see)

rev. 180

  • not to insert ­ into the URL

rev. 179

  • ATTENTION: renamed TexyHtml:: add () → create (), TexyHtml:: addChild () → add () (reasons)
  • version 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 in place of the object TexyHtml
  • handler, paragraph 'can be called with NULL parameter as a modifier (note that this handler will be further revision substantially changed)
  • internal changes in TexyHtml and TexyModifier (in $ classes now are a key entry field)

rev. 177

  • Added $ texy-> alignClasses (see Forum)

rev. 176

  • Added $ texy-> headingModule-> moreMeansHigher (see Forum)
  • the tables with the newly added elements <thead> and <tbody>
  • Smarter cutting table to head & body

rev. 175

  • $texy->htmlOutputModule->xhtml - switch XHTML / HTML mode

rev. 173

  • field $ texy-> headingModule-> instead of TOC items id 'contains an entry, el' s TexyHtml a title element, title 'is generated only at $ generateID

rev. 169

  • refactoring: added TexyBase & TexyException

rev. 156

  • new API method TexyHtml: toText () & TexyHtml:: toHtml () for export parts DOM

rev. 155

  • new system handlers. Removed $texy->handler and constant Texy::PROCEED Added $texy::addHandler() More in Forum

rev. 150

  • All examples now work in PHP 4 only need "inkludovat" appropriate version Texy.
  • version for PHP 5 support for backward compatibility, the original constant TEXY_ALL TEXY_NONE TEXY_HEADING_DYNAMIC TEXY_HEADING_FIXED TEXY_PROCEED TEXY_CONTENT_*

rev. 131

  • package now includes a version for PHP4
  • new configuration features TexyConfigurator: disableLinks & TexyConfigurator: disableImages
  • $ texy-> safemode () allocated to a new static class TexyConfigurator. Use TexyConfigurator: safemode ($ texy).
  • deleted trustMode () - it is the default setting Texy
  • mbstring.func_overload fix
  • given back $ texy-> tabWidth

rev. 126

  • Internal DTD texy $ validator-> htmlOutputModule now checks the validity of attributes
  • fixed a bug before entering attributes modified
  • name change $ texy-> formatterModule → $ texy-> htmlOutputModule

rev. 113

  • Improved syntax lists, see the Forum
  • activated typographical adjustments in the title attribute

Version 2.0 Beta (rev. 111)

  • much better output, a completely new API, the perfect support for their handlers, corrected many errors

Class Texy

  • removed $texy->utf instead $texy->encoding baseline utf-8
  • Texy output will use all the features of the encoding $texy->encoding Only those who are in coding, replace the numeric entity
  • new feature $texy->allowed - a unified authorization and disabling syntax, see the Modules
  • new way of masking email
  • new feature $texy->urlSchemeFilters (described in the documentation)
  • $ texy-> safemode () allocated to a new static class TexyConfigurator. Use TexyConfigurator: safemode ($ texy).
  • deleted trustMode () - it is the default setting Texy
  • new feature $strictDTD - can switch between strict and transitional DTD
  • changes of names of modules:
    • $ texy-> imageDescModule → $ texy-> figureModule
    • $ texy-> smiliesModule → $ texy-> emoticonModule
    • $ texy-> quickCorrectModule → $ texy-> typographyModule
  • Texy::safeMode() syntax off link/definition (see below) and slightly modified is a table of allowed tags (see source code)
  • new feature Texy::normalize() - adjust the text to the standard form (remove spaces right hand, consolidate the separator lines, ...)
  • new feature Texy::webalize() - adjust the text into a web identifier ( 'žlutý kůň''zluty-kun'
  • eliminated Texy::addReference() and Texy::getReference() replacement of modules linkModule and imageModule
  • Support for escaped characters: *)
    • then \ *test is seen as *test not \<em>test
    • analogy can be used in parenthesis modifier: "blabla .(to je (můj\ ) názor)"
    • Others escaped character, see tableModule
  • Texy:: summary field is now
  • Constant TEXY_ALL TEXY_NONE TEXY_HEADING_DYNAMIC and TEXY_HEADING_FIXED is now: Texy::ALL Texy:NONE TexyHeadingModule::DYNAMIC and TexyHeadingModule::FIXED
  • for backward compatibility, the original function constants TEXY_ALL TEXY_NONE TEXY_HEADING_DYNAMIC TEXY_HEADING_FIXED
  • added constant Texy:: VERSION
  • activated typographical adjustments in the title attribute
  • Compact Library renamed texy-compact.phptexy.compact.php

modules generally

  • in all modules removed property $allowed
  • Each has its own syntax identifier (eg, table html/tag heading/surrounded ...)
  • different syntax permitted over (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 highlighting ')
  • on / off syntax: $texy->allowed['blocks'] (bulk)
  • individual via: 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

  • replace smiliesModule
  • new feature $fileRoot (see imageModule)
  • each custom emoticons can be connected handler emoticon
  • on / off syntax: $texy->allowed['emoticon']

figureModule

  • replace imageDescModule
  • property $boxClass renamed $class
  • new feature $widthDelta - for floating wonders set the width. Calculated it as the width of the image + $widthDelta
  • each image can be linked with popisknou custom handler figure (see example, Figure and Definition List ')
  • on / off syntax: $texy->allowed['figure']

headingModule

  • weight dynamic subtitles are calculated slightly differently
  • new feature $generateID - Enable automatic generation ID for subtitles
  • new feature $idPrefix - text prefix for automatically generated ID
  • new feature $TOC - Here is a list of all the headlines, their level and ID
  • each headline can be connected 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

  • new feature $passComment - whether HTML comments leak or eating
  • repealed $allowedComments (for $texy->allowed
  • to any HTML tag can be connected to its own handler htmlTag
  • for each HTML comment can be connected 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!
  • $rootPrefix renamed to $fileRoot - default value is obtained smarter way
  • new class TexyImage an image handler (see the source code), used other methods and handlers
  • new method addReference() & getReference() - Programmer's findings add a reference picture
  • each image can be connected to its own handler image (see example, Images')
  • on / off syntax: $texy->allowed['image'] & $texy->allowed['image/definition']

linkModule

  • revoked $emailOnClick (can be replaced by a handler)
  • deleted automatically before entering ftp:// links in the shape ftp.xxx
  • Improved support for $forceNoFollow
  • new class TexyLink which is a reference handle (see source code), used by other methods and handlers
  • new method addReference() & getReference() - Programmer's findings add a reference
  • for each reference can be connected to its own handler linkReference (see example, References')
  • found on each URL and email can be connected to its own handler linkURL respectively. linkEmail
  • on / off syntax: link/reference link/email link/url link/definition

listModule

  • now accepts and typographic indent
  • of the final list can be connected to their own handler afterList respectively. 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^2x<sup>2</sup>
  • new syntax O_2O<sub>2</sub>
  • new syntax notexy
  • Syntax ++inserted++ --deleted-- ^^superscript^^ __subscript__ ~~cite~~ off by default
  • new feature $linksAllowed - can collectively disable links to phrases
  • for each phrase can be connected to its 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 the new registration, in addition to {{fnc(arg, arg)} is the {{fnc:arg, arg}}
  • Call {{texy(...)}} is booked
  • change: scriptModule handler-> handler as the first parameter passes $parser instead $texy (use $parser->texy
  • on / off syntax: $texy->allowed['script']

tableModule

  • support for escaping characters |
  • table can be connected to its own handler afterTable
  • on / off syntax: $texy->allowed['table']

typographyModule

  • replace quickCorrectModule
  • has much better outcomes & added internationalization
  • new feature $locale (the default is') sets the national specificities
  • not directly supported en, fr, de, pl
  • following indivisible space before the last word or a smiley in paragraph (to be getting itself a new line)
  • New syntax: (EUR) → sign €
  • Improved syntax: -- = &ndash; a --- = &mdash;
  • Improved syntax: -----> Long arrows
  • on / off syntax: $texy->allowed['typography']

htmlOutputModule

  • ensures that the output from Texy is called well-formed, correcting invalid crossing tags, etc.
  • Out now controls more accurately, taking into account $strictDTD
  • switch XHTML / HTML Mode $texy->htmlOutputModule->xhtml

TexyDOM and inherited Class

  • 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 the elements represented by this object, handling is extremely easy

TexyConfigurator

  • Texy configures an existing object
  • features TexyConfigurator: Safemode TexyConfigurator: disableLinks & TexyConfigurator: disableImages

Version 1.1b

1. 2. 2007

  • NEW: Supports variable references
  • FIX: fixed table TexyLongWordsModule & TexyQuickCorrectModule
  • FIX: TexyFormatterModule (missing gaps in the HTML blocks)
  • CHG: HTML comments displayed

Ver.1.1

6. 6. 2006

Fixed and improved handling of entities:

  • FIX: Texy now ignores unknown entity name (this was probably the only thing to cause non-well-formed output, so definitely upgrade to 1.1).
  • CHG: in the output are now sent to all entities in numerical form &#**; except &amp; &quot; &lt; &gt; It solves problems with some RSS readers, etc.
  • FIX: fixed incorrect processing entities in toText ()
  • CHG: toText () also removes &shy; and converted into ordinary space
  • Warning: If you are not using UTF-8 and toText () will require the extension of iconv. In PHP 5 is available by default.

Version 1.0 Final

18. 4. 2006

Extension functions:

  • NEW: custom attributes
  • CHG: enabled tags available over $texy->allowedTags should in future replace the $texy->htmlModule->allowed
  • NEW: new mode line breaks via $texy->mergeLines = false
  • INT: PHP5-like constructors

Fix for 1.0rc5

22. 7. 2005

  • FIX: Compatibility with a strange version of PHP 4.3.11 and 4.4.0 (see Forum)

Fix for 1.0rc5

30. 5. 2005

  • CHG: <td></td> adjusted to <td>&nbsp;</td>

Version 1.0rc5

25. 5. 2005

  • CHG: Attention: Changes names for callback:
    • $texy->blockModule->codeHandler instead of $texy->blockModule->userFunction
    • $texy->referenceHandler instead 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: external input data as {{ getPrice(produkt) }} (Forum) (sponsor of the development of this function is the company Internet Mall, as)

Version 1.0rc4

16. 3. 2005

  • NEW: new gadgets - block /-- source
  • CHG: Each module has a shortcut (reference) in the format $texy->xyzModule
  • CHG: activation via UTF $texy->utf = true;
  • CHG: improved tables
  • CHG: change syntax numbered lists:
    • the possibility to configure the syntax, eg $texy->listModule->allowed['*'] = false
    • modified entry in the form of 1st ... 2 ... because it collided with writing data to the beginning of the line
    • modified entry in the form I. ... II. ... Because it collided with initials at the beginning of the line
    • Use either 1) ..... 2) ..... I) ..... II) ......
    • or "spotted" registration, but followed by at least two spaces

Version 1.0rc3

9. 3. 2005

  • NEW: support <caption> demo
  • NEW: A new example of "user syntax" shows how to change or supplement the syntax
  • NEW: Compact single-version, ideal if you do not modify the code, but only used on a server
  • CHG: TexySmiliesModule module is activated over $allowed = true; see an example of "smilies"
  • other minor adjustments in the behavior of $allowed for other modules

Version 1.0rc2

27. 2. 2005

  • NEW: methods safeMode() and trustMode()
  • NEW: Module TexyHtmlModule: - a list of all authorized tag specifies the variable $ allowed
  • CHG: Module TexyBlockModule:
    • showed that the block /--notexy not comply with all requirements, so it is replaced blocks /--text and /--html Demo

Version 1.0rc1

23. 2. 2005

  • NEW: graphics support width & height attributes, including autodetect or manual entry. Syntax is [* image.gif 50x30 *]
  • NEW: In addition to dynamic captions can be used as fixed. For more information, see the example, Headings'
  • FIX: Support for "long smileys" as :-)))))