Commit Graph

1191 Commits

Author SHA1 Message Date
Daniel James
0fe014b9ed Quickbook: Detab
[SVN r71087]
2011-04-07 19:50:50 +00:00
Daniel James
40821d55d8 Quickbook: Don't use null node in symbol table.
Since it isn't using a union for the value/middle pointer, there's no
need to have special terminating nodes.

[SVN r71063]
2011-04-07 00:15:38 +00:00
Daniel James
d4344ed435 Quickbook: Remove most of process suppression stuff.
Imports were failing because doc info expected values. The process_state
stuff is too fragile, so instead just process the contents of a
conditional phrase and discard them afterwards. Still suppresses all
elements.

[SVN r71062]
2011-04-06 23:59:24 +00:00
Daniel James
ce96819bb5 Quickbook: Avoid empty simple markups.
[SVN r71061]
2011-04-06 23:59:02 +00:00
Daniel James
d72d923f2e Quickbook: Write out blocks smuggled into phrases.
Pretty clumsy, but it's a dodgy thing to do. Maybe the values could
include whether they're blocks or phrases and actions could react
accordingly.

[SVN r71060]
2011-04-06 23:58:44 +00:00
Daniel James
2553e0e878 Quickbook: If a phrase template turns out to be a block template, treat it as a complete block.
[SVN r71059]
2011-04-06 23:58:25 +00:00
Daniel James
99b81b1fbf Quickbook: Avoid empty simple markups.
[SVN r71057]
2011-04-06 23:42:51 +00:00
Daniel James
d31276a383 Quickbook: Write out blocks smuggled into phrases.
Pretty clumsy, but it's a dodgy thing for the user to do. Maybe the
values could include whether they're blocks or phrases and actions could
react accordingly.

[SVN r71056]
2011-04-06 23:42:31 +00:00
Daniel James
9cb1f04aeb Quickbook: If a phrase template turns out to be a block template, treat it as a complete block.
[SVN r71055]
2011-04-06 23:42:09 +00:00
Daniel James
d8df74fe08 Doc tools: Combined documentation.
[SVN r71017]
2011-04-05 21:14:26 +00:00
Daniel James
8bdaab2f37 Quickbook: Detab
[SVN r71014]
2011-04-05 20:06:11 +00:00
Daniel James
d90650a679 Quickbook: In 1.6, override document id with id from include element.
[SVN r71013]
2011-04-05 20:03:18 +00:00
Daniel James
eebdf1a915 Documentation: Merge documentation into quickbook branch.
[SVN r71012]
2011-04-05 19:49:50 +00:00
Daniel James
0079ba5981 Quickbook: turn off compile warnings.
[SVN r71009]
2011-04-05 19:37:12 +00:00
Daniel James
9b4288cf7e Quickbook: oops, missed this out of the merge somehow.
[SVN r70980]
2011-04-04 22:26:10 +00:00
Daniel James
3016348658 Quickbook: fix repeated 'warning' in version not defined message.
[SVN r70979]
2011-04-04 22:11:29 +00:00
Daniel James
066d27a264 Quickbook: Better error messages when loading a file.
[SVN r70978]
2011-04-04 22:11:09 +00:00
Daniel James
de2fc3754c Quickbook: Overwrite duplicate macros in 1.6
[SVN r70977]
2011-04-04 22:10:45 +00:00
Daniel James
d1cfea9f86 Quickbook: merge from trunk.
[SVN r70976]
2011-04-04 22:10:20 +00:00
Daniel James
e601ca9979 Quickbook: Fix a few places where strings are used for filenames.
[SVN r70973]
2011-04-04 19:31:38 +00:00
Daniel James
a615a0a6e3 Quickbook: Nested documents in 1.6.
If an included file has a docinfo block, use that docinfo. I'm not
entirely sure if the nested file be treated as if it's completely
standalone - i.e. should macros and templates defined in the parent be
used?

Also, there's some odd behaviour in quickbook if the docinfo block in an
included file has a parse error. It just goes back to the start and
parses as a file without a docinfo block. I think it would be better if
this was a hard error, but what should happen in someone has defined a
template with the same name as a docinfo block? That's actually valid in
existing quickbook, so the dodgy docinfo block might just be a template
call.

[SVN r70963]
2011-04-03 21:15:14 +00:00
Daniel James
85e8c03d70 Quickbook: Include code file in 1.6.
[SVN r70960]
2011-04-03 19:19:07 +00:00
Daniel James
9489385464 Quickbook: Import templates+macros from quickbook file in 1.6
[SVN r70959]
2011-04-03 19:18:38 +00:00
Daniel James
02406bf553 Quickbook: Scope templates in include in 1.6
[SVN r70958]
2011-04-03 19:18:12 +00:00
Daniel James
146fc75362 Quickbook: Port the combined include/import from old branch.
[SVN r70957]
2011-04-03 19:17:46 +00:00
Daniel James
729c4f3142 Quickbook: Delete file missed in merge.
[SVN r70931]
2011-04-03 11:57:03 +00:00
Daniel James
627e1e12a1 Quickbook: merge quickbook 1.5.5
[SVN r70930]
2011-04-03 11:50:51 +00:00
Daniel James
d53ac4b7e5 Quickbook: Clean up pass_thru tests.
[SVN r70926]
2011-04-03 10:56:56 +00:00
Daniel James
6e38216bc3 Quickbook: Clearer tracking of state in templates and files.
Not quite exception safe, since macros can't be swapped.

[SVN r70872]
2011-04-02 17:45:28 +00:00
Daniel James
87d71d0633 Quickbook: Alternative tst that's cheaper to copy.
[SVN r70871]
2011-04-02 17:45:09 +00:00
Daniel James
3004e3985e Quickbook: No need to store quickbook version, as it's ignored in included files.
[SVN r70870]
2011-04-02 17:44:42 +00:00
Daniel James
95846c2db3 Quickbook: Just use doc_type for main document.
[SVN r70869]
2011-04-02 17:44:16 +00:00
Daniel James
100766d570 Quickbook: New tests. Mostly state tracking.
[SVN r70868]
2011-04-02 17:43:52 +00:00
Daniel James
7ecddddc7e Quickbook: Trying to clarify to myself the doc info stuff.
[SVN r70867]
2011-04-02 17:43:18 +00:00
Daniel James
bac2bf1f48 Quickbook: Small code clean ups.
[SVN r70865]
2011-04-02 17:42:57 +00:00
Daniel James
bbea15be1e Quickbook: Remove accidentally commited test result.
[SVN r70864]
2011-04-02 17:42:37 +00:00
Daniel James
72958f8dfa Quickbook: 'alpha' version.
[SVN r70622]
2011-03-27 10:54:08 +00:00
Daniel James
dc47dcbdc9 Quickbook: Don't require newlines at end of grammar.
[SVN r70617]
2011-03-27 10:31:13 +00:00
Daniel James
70a29a9fc3 Quickbook: Another missing copyright.
[SVN r70615]
2011-03-27 10:26:37 +00:00
Daniel James
5d465edfe8 Quickbook: Add missing copyright.
[SVN r70614]
2011-03-27 10:24:56 +00:00
Daniel James
a8079d421d Quickbook: New branch for development.
From now on this will be my development branch.


[SVN r70613]
2011-03-27 10:17:05 +00:00
Daniel James
abb793e3b6 Quickbook: Iterator tests. Equality operator for values.
The equality operator is pretty inefficient. Just for testing really.

[SVN r70565]
2011-03-26 11:13:07 +00:00
Daniel James
1c9648e21d Quickbook: Clean up anchor stuff.
[SVN r70564]
2011-03-26 11:12:45 +00:00
Daniel James
03456cb4c4 Quickbook: Template as value.
[SVN r70563]
2011-03-26 11:12:19 +00:00
Daniel James
352a9ca028 Quickbook: Release lists from list builder.
[SVN r70562]
2011-03-26 11:11:58 +00:00
Daniel James
a050f676a7 Quickbook: Rename rule_store to cleanup.
[SVN r70561]
2011-03-26 11:11:36 +00:00
Daniel James
ff2fd55ac6 Quickbook: Use a different type for stored values.
And fix some bugs in the process.

[SVN r70529]
2011-03-24 21:25:50 +00:00
Daniel James
e478c5befb Quickbook: Use values for templates and snippets.
[SVN r70528]
2011-03-24 21:25:18 +00:00
Daniel James
210e2a95e8 Quickbook: Encapsulate markups.
[SVN r70527]
2011-03-24 21:24:50 +00:00
Daniel James
bee5d0dd77 Quickbook: Small cleanups.
Mostly avoiding warnings, and removing unnecessary includes.

[SVN r70526]
2011-03-24 21:24:24 +00:00