Home
last modified time | relevance | path

Searched hist:e1c10e4d58dad58f2a8b4b121b62bd56045bf852 (Results 1 – 4 of 4) sorted by relevance

/dokuwiki/inc/parser/
H A Dparser.phpe1c10e4d58dad58f2a8b4b121b62bd56045bf852 Sun Apr 09 21:49:58 UTC 2006 chris <chris@jalakai.co.uk> Parser Update:

- revisions to header class and section handling
header pattern simplified
header class now writes section open and close instructions
section call writer removed
check for and update meta['first_header'] if required (see below)

- meta instruction added
written by _finalize to front of instruction stack
holds first header information

plugins can now write first header information, or other page meta information
to this data structure.

- get_first_heading updated to make use of meta['first_header']

- plugin instruction structure changed to include lexer state in the data portion
of the instruction.
OLD INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$pos), $pos)
NEW INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$state), $pos)

- block handler/call writer update to better handle plugin PTypes 'block' & 'stack'.
Lexer states are mapped as follows:
DOKU_LEXER_ENTER, DOKU_LEXER_SPECIAL : block_open, stack_open
DOKU_LEXER_EXIT, DOKU_LEXER_SPECIAL : block_close, stack_close
DOKU_LEXER_MATCHED, DOKU_LEXER_UNMATCHED : plugin must handle <p>

Plugin writers can now use these PTypes as intended !

darcs-hash:20060409214958-9b6ab-cd2cef97a6a2521e3a02175075b8ff4648035f69.gz

H A Dhandler.phpe1c10e4d58dad58f2a8b4b121b62bd56045bf852 Sun Apr 09 21:49:58 UTC 2006 chris <chris@jalakai.co.uk> Parser Update:

- revisions to header class and section handling
header pattern simplified
header class now writes section open and close instructions
section call writer removed
check for and update meta['first_header'] if required (see below)

- meta instruction added
written by _finalize to front of instruction stack
holds first header information

plugins can now write first header information, or other page meta information
to this data structure.

- get_first_heading updated to make use of meta['first_header']

- plugin instruction structure changed to include lexer state in the data portion
of the instruction.
OLD INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$pos), $pos)
NEW INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$state), $pos)

- block handler/call writer update to better handle plugin PTypes 'block' & 'stack'.
Lexer states are mapped as follows:
DOKU_LEXER_ENTER, DOKU_LEXER_SPECIAL : block_open, stack_open
DOKU_LEXER_EXIT, DOKU_LEXER_SPECIAL : block_close, stack_close
DOKU_LEXER_MATCHED, DOKU_LEXER_UNMATCHED : plugin must handle <p>

Plugin writers can now use these PTypes as intended !

darcs-hash:20060409214958-9b6ab-cd2cef97a6a2521e3a02175075b8ff4648035f69.gz

H A Dxhtml.phpe1c10e4d58dad58f2a8b4b121b62bd56045bf852 Sun Apr 09 21:49:58 UTC 2006 chris <chris@jalakai.co.uk> Parser Update:

- revisions to header class and section handling
header pattern simplified
header class now writes section open and close instructions
section call writer removed
check for and update meta['first_header'] if required (see below)

- meta instruction added
written by _finalize to front of instruction stack
holds first header information

plugins can now write first header information, or other page meta information
to this data structure.

- get_first_heading updated to make use of meta['first_header']

- plugin instruction structure changed to include lexer state in the data portion
of the instruction.
OLD INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$pos), $pos)
NEW INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$state), $pos)

- block handler/call writer update to better handle plugin PTypes 'block' & 'stack'.
Lexer states are mapped as follows:
DOKU_LEXER_ENTER, DOKU_LEXER_SPECIAL : block_open, stack_open
DOKU_LEXER_EXIT, DOKU_LEXER_SPECIAL : block_close, stack_close
DOKU_LEXER_MATCHED, DOKU_LEXER_UNMATCHED : plugin must handle <p>

Plugin writers can now use these PTypes as intended !

darcs-hash:20060409214958-9b6ab-cd2cef97a6a2521e3a02175075b8ff4648035f69.gz

/dokuwiki/inc/
H A Dparserutils.phpe1c10e4d58dad58f2a8b4b121b62bd56045bf852 Sun Apr 09 21:49:58 UTC 2006 chris <chris@jalakai.co.uk> Parser Update:

- revisions to header class and section handling
header pattern simplified
header class now writes section open and close instructions
section call writer removed
check for and update meta['first_header'] if required (see below)

- meta instruction added
written by _finalize to front of instruction stack
holds first header information

plugins can now write first header information, or other page meta information
to this data structure.

- get_first_heading updated to make use of meta['first_header']

- plugin instruction structure changed to include lexer state in the data portion
of the instruction.
OLD INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$pos), $pos)
NEW INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$state), $pos)

- block handler/call writer update to better handle plugin PTypes 'block' & 'stack'.
Lexer states are mapped as follows:
DOKU_LEXER_ENTER, DOKU_LEXER_SPECIAL : block_open, stack_open
DOKU_LEXER_EXIT, DOKU_LEXER_SPECIAL : block_close, stack_close
DOKU_LEXER_MATCHED, DOKU_LEXER_UNMATCHED : plugin must handle <p>

Plugin writers can now use these PTypes as intended !

darcs-hash:20060409214958-9b6ab-cd2cef97a6a2521e3a02175075b8ff4648035f69.gz