Commit Graph

1426 Commits

Author SHA1 Message Date
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
Daniel James
42c353f617 Quickbook: Remove remainging uses for markup_action.
[SVN r70525]
2011-03-24 21:23:54 +00:00
Daniel James
94a6d24e7b Quickbook: another missing changelog entry.
[SVN r70234]
2011-03-20 21:51:14 +00:00
Daniel James
ecedc66228 Quickbook: missing changelog entries.
[SVN r70233]
2011-03-20 21:50:12 +00:00
Daniel James
f6c565eddb Quickbook: explicit list markup. Refs #1193.
[SVN r70232]
2011-03-20 21:46:10 +00:00
Daniel James
86d40a07a9 Quickbook: Rewrite relative path.
- Do the normalization ourselves, so we don't use a deprecated function.
  Refs #2923
- Move more of the logic into `path_difference` and try to make it
  easier to read, because I found it a bit difficult.

[SVN r70231]
2011-03-20 21:41:42 +00:00
Daniel James
85cb554400 Quickbook: use relative paths in errors and __FILENAME__.
This is more consistent than it is at the moment. For the __FILENAME__
macro, use the path relative to the original file or the location last
matched on the include path. This ensures that the macro is consistent
no matter which directory you call quickbook from.

Also enable `__FILENAME__` in debug mode - so I can test this.

[SVN r70230]
2011-03-20 21:41:18 +00:00
Daniel James
c61a355d8c Quickbook: fix definition of exceptions.
[SVN r70219]
2011-03-20 09:36:34 +00:00
Daniel James
ce9dcf4c2f Quickbook: windows fixes.
[SVN r70208]
2011-03-19 19:24:20 +00:00
Daniel James
345f0a2648 Quickbook: pass-thru comments.
[SVN r70207]
2011-03-19 19:22:45 +00:00
Daniel James
4caec51e26 Quickbook: better anchor placement for lists.
[SVN r70206]
2011-03-19 19:18:51 +00:00
Daniel James
89a2da027a Quickbook: more use of phoenix.
[SVN r70205]
2011-03-19 19:16:32 +00:00
Daniel James
35cae039f4 Quickbook: support escapes in simple markup.
[SVN r70204]
2011-03-19 19:13:38 +00:00
Daniel James
f317bddc34 Quickbook: store a copy of the string in utf8_proxy.
[SVN r70201]
2011-03-19 17:23:30 +00:00
Daniel James
ec6300c841 Quickbook: further improvements for simple markup.
[SVN r70196]
2011-03-19 16:28:49 +00:00
Daniel James
8daeac64ec Quickbook: Implement int value and use for years and versions.
Hopefully will no longer need to the workaround for 64 bit gcc.


[SVN r70195]
2011-03-19 16:24:39 +00:00