| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
This patch adds another parser mode for apostrophes. Now single quote closing
markers are handled different from apostrophes for better local typograpy
support.
Needs testing and languages updates.
darcs-hash:20070513084024-7ad00-d20fe093a093c265d357b178e199c1596b484996.gz
|
|
|
|
| |
darcs-hash:20070206191629-64c10-6607d7e7e724315b728e8c46a0b2ff6e7e8ab2f6.gz
|
|
|
|
| |
darcs-hash:20070125143421-9b6ab-93ce6bfd804924af4651da9424738494f11fe5f2.gz
|
|
|
|
|
|
|
| |
Name the TRUE/FALSE-constants consistently as lowercase everywhere.
This might also be an tiny optimization in some environments.
darcs-hash:20070103205700-d2a3e-e7ec0aedb938d563f583116a2d5b17f3a3fea36c.gz
|
|
|
|
| |
darcs-hash:20060809155417-9b6ab-c88a818425487cac0cd1f8d7cd266ac088bba16c.gz
|
|
|
|
|
|
|
|
| |
The bug preventing use of '<' & '>' in look ahead patterns was fixed
some time ago. This patch replaces the '\x3C' & '\x3E' in those syntax
pattern where they were still in use.
darcs-hash:20060601101231-9b6ab-4ad0d61578710543063a5de053c3d0f2065a7ddf.gz
|
|
|
|
| |
darcs-hash:20060411182721-7ad00-0f34803c6228eb2918f0049284e6290a47ce51bd.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
Parser don't longer breaks if no smileys, acronyms or entities are configured
darcs-hash:20060317182631-7ad00-090248bae8cdeaa19127251e46dfaef80ef49f58.gz
|
|
|
|
|
|
| |
Add parser detection for LDAP URI scheme as specified in RFC 2255
darcs-hash:20060311130311-c47a2-fd0b1e2a6ba50e4c76732101966dcb27c42a178f.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch cleans up the source code to satisfy the coding guidelines (see
http://wiki.splitbrain.org/wiki:development#coding_style)
It converts files to UNIX lineendings and removes tabs and trailing
whitespace. Not all files were cleaned yet.
darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
|
|
|
|
| |
darcs-hash:20051103162630-6e07b-21520008f556114f8273307e7d6d33795488b1d2.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The last change introduced a bug where acronyms inside words where
marked. This fixes it partly. However there is still a bug - the
following line gets both occurences of 'spec' marked as acronym and
I don't know why:
This is the specification also called spec.
Only the last occurence of spec should be marked but both are. If
the latter is missing the first one isn't marked as well.
Any help appreciated.
darcs-hash:20050914144810-7ad00-9e486e207cb856524a044a1d6d3ed07dbb534864.gz
|
|
|
|
| |
darcs-hash:20050911210801-7ad00-f571ad2eeb07ce2e62ae55775b49c0e9be523166.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bug with emphasis syntax clashing with URLs did still occur with
protocols different from http or ftp. This patch might be a better
solution.
I had to use [^\x00]* instead of .* - for some reason the later won't
work properly in this case. It means people won't be able to use ASCII
NUL characters inside an emphasis.
The other thing that won't work is this;
Won't work: //semi colon here>://
People will need to make sure there is at least a space - this will work;
Works //semi colon here>: //
darcs-hash:20050806151204-56ad0-532806af57801f5fa4536add32175089e625a0d4.gz
|
|
|
|
| |
darcs-hash:20050713180456-9977f-77e5f03775df3deae67361cca89fdf454118f093.gz
|
|
|
|
|
|
|
|
| |
This isn't a real fix for FS#384 but cures the symptoms at least.
The emphasis regexp now doesn't take the double slash of auto-URLs
as closing match anymore.
darcs-hash:20050701134040-9977f-5130eaea0ebcb43918e48e823fcfbbf628d88981.gz
|
|
|
|
| |
darcs-hash:20050701113825-9977f-75c85330b6001db24125aabc8bb7f344f0d1ac33.gz
|
|
|
|
| |
darcs-hash:20050612183557-9977f-fe071d83503f6e324255200bea3e7b8d76db7e31.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Syntax plugins now need to implement getSort() which should return a number.
This number is used to add all syntax modes in the correct order. To see a
list in which order current modes are loaded you can use the info plugin like
this:
~~INFO:syntaxmodes~~ lists all known modes (includes existing plugins) with
their sorting score
~~INFO:syntaxtypes~~ lists all syntax types and their registered modes (useful
for implementing the getType() function.
darcs-hash:20050521210430-9977f-2baaf6043afc6ea3fed41cdca97564218fb519c2.gz
|
|
|
|
| |
darcs-hash:20050520150702-9977f-a2ef5264ff38a5225521c83eeaf85759c92a37bb.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The first version of the new plugin system. Syntax plugins only yet. A very simple
example plugin called info (doing nothig useful yet) is included.
Missing Features
- Doku_Block_Handler needs work (doesn't honur plugins yet)
- there is no way to specify the order of plugins and other modes yet
- useful output from the info plugin
- bug testing and fixing
- code cleanup
- documentation
darcs-hash:20050519201009-9977f-f793dbfc6a39d8a9643b610927d93cd3288bdd6b.gz
|
|
|
|
| |
darcs-hash:20050513152910-9977f-e9dfee8d6958db3e487edbba3b441da0d447c158.gz
|
|
|
|
| |
darcs-hash:20050504192203-9977f-004cc04b0753fc5d36d4515519c54039e73e77de.gz
|
|
|
|
| |
darcs-hash:20050501193908-9977f-e65b9b9bd123efaccc167f2e1ad9a1d4f51ba681.gz
|
|
|
|
| |
darcs-hash:20050501182348-9977f-a0653d07936820a7e1c251537f4b93556d88d4c8.gz
|
|
|
|
| |
darcs-hash:20050429120548-9977f-048855b3101e9f104e9fb826ad35042fa8d4c176.gz
|
|
|
|
| |
darcs-hash:20050429100017-9977f-606a82e63f7883de940d816c6609f8823757e484.gz
|
|
|
|
| |
darcs-hash:20050428201306-9977f-0d1a0f63f09ea56fb6fad22dc9dda7b838f51b5b.gz
|
|
|
|
| |
darcs-hash:20050424132922-9977f-5e9acbeae431ca1c605169829e580bf094a09ef9.gz
|
|
|
|
|
|
|
|
| |
The PHP manual states "PHP reserves all function names starting with __ as magical. It is recommended that you do not use function names with __ in PHP unless you want some documented magic functionality." (http://www.php.net/manual/en/language.oop.php)
I renamed all functions starting with __ to _
darcs-hash:20050422101253-9977f-79b7cb3ac3b5b8287073ab0bc7d9e78f115b4a58.gz
|
|
|
|
| |
darcs-hash:20050418184011-9977f-acd3a6583e08ce3732af5ffc4fdc3027e284173e.gz
|
|
|
|
| |
darcs-hash:20050415204735-9977f-613d9b007452d538dcb8fce4ade5cbec389c4415.gz
|
|
|
|
| |
darcs-hash:20050413175338-9977f-c969db6f86df5df175db9a39b4fabb9f072f8f67.gz
|
|
|
|
| |
darcs-hash:20050410170115-9977f-620a5fccdc80d5af01d0b9aec9f8b1fb8e4c667d.gz
|
|
|
|
| |
darcs-hash:20050405084745-56ad0-d350083b623653dcd7fc77cd527571c7af1e34dd.gz
|
|
darcs-hash:20050331145749-9977f-f011ea6c65a278197e9087b685c635c60a204cd2.gz
|