Commit Graph

239 Commits

Author SHA1 Message Date
Hartmut Kaiser
a16005fc4e Wave: fixed race condition
[SVN r53194]
2009-05-23 04:15:22 +00:00
Hartmut Kaiser
122915b95f Wave: fixed examples
[SVN r53192]
2009-05-22 23:40:53 +00:00
Hartmut Kaiser
4cc8bb6365 Wave: now compiles even with BOOST_FILESYSTEM_NO_DEPRECATED defined
[SVN r51679]
2009-03-10 01:35:54 +00:00
Hartmut Kaiser
b775241f95 Wave: Updated ChangeLog to reflect the V1.37 release
[SVN r49307]
2008-10-13 01:36:04 +00:00
Hartmut Kaiser
a57de87981 Wave: pending commits
[SVN r49304]
2008-10-13 01:21:03 +00:00
Douglas Gregor
a335a53ac3 Add mime-type and eol-style properties as needed
[SVN r46445]
2008-06-17 13:54:46 +00:00
Hartmut Kaiser
cedfb5313a Wave: Fixing the test application, which caused 2 regressions reported on non-Windows systems
[SVN r45062]
2008-05-03 12:55:45 +00:00
Hartmut Kaiser
6fb42073b8 Wave: minor edits...
[SVN r44482]
2008-04-17 01:04:19 +00:00
Hartmut Kaiser
6b02159942 Wave: Updated to use new Spirit Classic library structure and namespace. Lots' of minor changes and adjustments. Switched version to 2.0 since this version is not backwards compatible anymore with earlier versions.
[SVN r44381]
2008-04-13 22:39:12 +00:00
Hartmut Kaiser
e3302210d7 Wave: Added new test to check for regression as reported by ticket #1766.
[SVN r44026]
2008-04-04 02:00:35 +00:00
Hartmut Kaiser
4bb41846e5 Wave: Fixed ticket #1766
[SVN r44025]
2008-04-04 01:47:29 +00:00
Hartmut Kaiser
d2639cf363 Wave: Added new sample 'preprocess_pragma_output' and fixed a couple of problems (see ChangeLog).
[SVN r44020]
2008-04-03 20:09:41 +00:00
Hartmut Kaiser
cdb5d64051 Wave: Started to add testing of preprocessor hooks.
[SVN r43540]
2008-03-07 19:51:26 +00:00
Hartmut Kaiser
687c0a8a87 Wave: Fixed #1673.
[SVN r43524]
2008-03-06 03:28:47 +00:00
Hartmut Kaiser
e9be89fe49 Fixed a whitespace insertion glitch, where whitespace got inserted unconditionally between two operators even if one of these was a comma.
[SVN r43262]
2008-02-14 22:01:54 +00:00
Hartmut Kaiser
a67d06cde8 Wave: Added additional configuration possibility to allow control threading support. Updated the documentation.
[SVN r43042]
2008-01-31 22:48:56 +00:00
Hartmut Kaiser
f79dbf21f5 Wave: fixed expanding_function_like_macro()
[SVN r43038]
2008-01-31 20:57:47 +00:00
Hartmut Kaiser
029c731ea7 Wave: Fixed a problem in flex_string::compare() (#include_next was non-functional).
[SVN r42976]
2008-01-26 01:24:21 +00:00
Hartmut Kaiser
23bbed3024 Wave: updated copyright messages to include the year 2008 (merged from release branch).
[SVN r42502]
2008-01-05 22:44:28 +00:00
Hartmut Kaiser
2e950da102 Wave: More fixes to allow error free compilation of every header on its own.
[SVN r41590]
2007-12-02 19:08:13 +00:00
Hartmut Kaiser
8806d2c7e8 [Wave] Unterminated C++/C comment diagnostics are now a warning and not an error anymore.
[SVN r39651]
2007-10-02 15:10:05 +00:00
Hartmut Kaiser
f4aae6dac4 Wave: Added missing file to real_positions example, fixed corresponding Jamfile.
[SVN r38568]
2007-08-10 15:03:46 +00:00
Hartmut Kaiser
09ddadcb4b Wave: Fixed a minor issue in the real_positions example.
[SVN r38475]
2007-08-06 14:43:54 +00:00
Hartmut Kaiser
2faaf7f871 Wave: Fixed predefined macro support to be thread safe.
[SVN r38254]
2007-07-17 15:41:28 +00:00
Hartmut Kaiser
c6ca3c8a55 Wave: Fixed namespace detail ambiguity, fixed gcc compilation problems.
[SVN r38148]
2007-07-05 14:42:03 +00:00
Hartmut Kaiser
e5f489787d Wave: Changed return type of some preprocessing hooks to allow to skip the corresponding preprocessor action.
[SVN r38143]
2007-07-04 21:56:56 +00:00
Hartmut Kaiser
ee70f68887 Wave: Added the BOOST_WAVE_SUPPORT_LONGLONG_INTEGER_LITERALS pp configuration constant.
[SVN r38140]
2007-07-04 18:25:52 +00:00
Hartmut Kaiser
c36f1594bf Wave: fixed configuration to correctly take into account thread related settings.
[SVN r38134]
2007-07-03 15:47:51 +00:00
Hartmut Kaiser
5f1903f4b1 Wave: implemented macro introspection iterators.
[SVN r38104]
2007-06-27 01:23:21 +00:00
Hartmut Kaiser
0e9ebd8223 Wave: added handling of #import directives, fixed a problem in the Wave driver.
[SVN r38100]
2007-06-26 19:40:04 +00:00
Hartmut Kaiser
3254ccc362 Wave: Changed return value of found_nclude_file hook function.
[SVN r37716]
2007-05-20 00:28:21 +00:00
Hartmut Kaiser
9556b1829c Wave: Added more missing #includes.
[SVN r37364]
2007-04-05 13:06:20 +00:00
Hartmut Kaiser
aa0f749e09 Wave: Added missing #include <climits> to cpp_chlit_grammar.hpp.
[SVN r37349]
2007-04-03 22:36:48 +00:00
Hartmut Kaiser
2ee9960f47 Wave: Added missing #include.
[SVN r37348]
2007-04-03 21:29:58 +00:00
Hartmut Kaiser
31d06f9594 Wave: changed is_empty() to is_eoi().
[SVN r37345]
2007-04-03 14:02:00 +00:00
Hartmut Kaiser
b067624e87 Wave: Added the is_empty() function to token classes, returning true if the token has been initialized to be the end of input token (T_EOI).
[SVN r37344]
2007-04-03 13:12:53 +00:00
Hartmut Kaiser
07f997e321 Wave: Fixed Re2C problem when feeded with empty files.
[SVN r37300]
2007-03-27 13:35:27 +00:00
Hartmut Kaiser
d7a81bccc5 Wave: Fixed a problem in the SLex C++ lexer (cpp_tokens example).
[SVN r37274]
2007-03-23 19:28:15 +00:00
Hartmut Kaiser
130775d53c Wave: Updated docs, added const specifiers.
[SVN r37246]
2007-03-20 19:19:15 +00:00
Hartmut Kaiser
d62a8447c0 Wave: fixed --force_include behavior as discussed on the list.
[SVN r37169]
2007-03-11 17:23:44 +00:00
Hartmut Kaiser
59415cd026 Wave: Fixed the is_defined() issue.
[SVN r37160]
2007-03-08 14:04:37 +00:00
Hartmut Kaiser
8717eee995 Updated the changelog.
[SVN r37147]
2007-03-06 19:28:32 +00:00
Hartmut Kaiser
bee6541f6f Added is_macro_defined() as described in the docs.
[SVN r37146]
2007-03-06 19:08:23 +00:00
Hartmut Kaiser
b379b3292a Added the possibility to use static pre-compiled DFA tables for the lexertl based lexer.
[SVN r37058]
2007-02-25 00:47:11 +00:00
Hartmut Kaiser
2eac08e619 Worked around a linker issue for the True64/CXX compiler, complaining about multiple defined symbols when using the flex_string class.
[SVN r36818]
2007-01-27 22:20:20 +00:00
Hartmut Kaiser
ab1ae75d72 Fixed Changelog.
[SVN r36715]
2007-01-12 23:23:49 +00:00
Hartmut Kaiser
45dec9c8a3 Wave: Fixed a problem in preserve=1 mode, when a C style comment triggered the generation of a #line directive.
[SVN r36710]
2007-01-12 19:44:19 +00:00
Hartmut Kaiser
dc8846cbf5 Added pragma option values push and pop to the options line, preserve and output.
[SVN r36698]
2007-01-12 02:04:19 +00:00
Hartmut Kaiser
3cf132c4d0 Wave: Extended the copyright notice to include the year 2007.
[SVN r36469]
2006-12-20 16:58:16 +00:00
Hartmut Kaiser
bab5af06f2 Fixed a problem in the Wave applet during handling of configuration files.
[SVN r36237]
2006-12-02 02:26:40 +00:00
Hartmut Kaiser
9a56d46717 Added the support_option_insert_whitespace language option.
[SVN r36211]
2006-11-30 13:22:39 +00:00
Hartmut Kaiser
8debee3187 Wave: Fixed a subtle bug.
[SVN r36204]
2006-11-29 23:54:52 +00:00
Hartmut Kaiser
26563d403c Changed the list_includes sample to use a lexer which is based on the lexertl library written by Ben Hanson (http://www.benhanson.net/lexertl.html).
[SVN r36170]
2006-11-23 22:24:03 +00:00
Hartmut Kaiser
8895b44419 Wave: Added token_statistics sample.
[SVN r36157]
2006-11-23 02:01:33 +00:00
Hartmut Kaiser
068ed18ae1 Factored out the pure lex_input_interface to simplify writing different lexer types for Wave.
[SVN r36141]
2006-11-22 02:33:45 +00:00
Hartmut Kaiser
2e422497bc Wave: modified the real_positions example to use a new tokentype carrying both positions, the original and the corrected one.
[SVN r35950]
2006-11-09 14:35:26 +00:00
Hartmut Kaiser
8373f59803 Added new pp hook: generated_token().
[SVN r35910]
2006-11-08 03:41:09 +00:00
Hartmut Kaiser
6bd6cd8ef7 Wave: Added error handler hook.
[SVN r35630]
2006-10-16 14:39:59 +00:00
Hartmut Kaiser
c791f7edec Minor tweaks in Wave.
[SVN r35422]
2006-09-29 16:03:14 +00:00
Hartmut Kaiser
fd49e19ccd Fixed the wave applet not to report an error of a missing #ifdef interactive mode.
[SVN r35209]
2006-09-19 16:27:20 +00:00
Hartmut Kaiser
2536de0389 Wave: improved error handling and some diagnostics, added corresponding tests.
[SVN r35186]
2006-09-18 23:24:30 +00:00
Hartmut Kaiser
2693461aa0 Improved cfg file handling in the wave driver applet.
[SVN r34949]
2006-08-25 17:37:00 +00:00
Hartmut Kaiser
473b69e6fe Wave: Improved error handling and error recovery for conditional expressions.
[SVN r34931]
2006-08-23 19:37:31 +00:00
Hartmut Kaiser
61758d08ec Wave: Fixed a bug resulting in a crash if a macro was redefined with a shorter expansion list as it was defined initially. Added a corresponding test case.
[SVN r34926]
2006-08-23 01:40:23 +00:00
Hartmut Kaiser
1f5d628c14 Another try to fix the Wave related SunPro compilation problem.
[SVN r34737]
2006-07-26 01:41:37 +00:00
Hartmut Kaiser
99c014af40 Another try to fix the SunPro issue.
[SVN r34459]
2006-07-04 20:04:32 +00:00
Hartmut Kaiser
010a1459ed Appplied RTTI Jamfile.v2 fixes for VC7.1
[SVN r34445]
2006-07-02 18:30:47 +00:00
Hartmut Kaiser
705dacbd48 Added new preprocessing hook function: found_line_directive() to be called when a #line directive is encountered.
[SVN r34393]
2006-06-25 17:17:28 +00:00
Hartmut Kaiser
ed8761fe72 Stripped leading and trailing whitespace for all lines in a config file (Wave driver tool).
[SVN r34389]
2006-06-24 21:47:45 +00:00
Hartmut Kaiser
5cfd4d3beb Fixed predefined macros to appear to be defined at a position referring to a file named '<built-in>'.
[SVN r34387]
2006-06-24 20:46:14 +00:00
Hartmut Kaiser
8d6b92ca19 Fixed predefined macros to appear to be defined at a position referring to a file named '<built-in>'.
[SVN r34386]
2006-06-24 20:44:47 +00:00
Hartmut Kaiser
55305c69cd Fixed exception specifications to catch exceptions as const&.
[SVN r34385]
2006-06-24 17:00:22 +00:00
Hartmut Kaiser
a673b06695 Fixed a missing #define BOOST_WAVE_SOURCE 1 in wave_config_constant.cpp.
[SVN r34379]
2006-06-23 15:43:15 +00:00
Hartmut Kaiser
a7a18c3563 Wave: Fixed a problem in get_tokenname().
[SVN r34377]
2006-06-22 23:51:18 +00:00
Hartmut Kaiser
9145802cc6 Added found_warning_directive() and found_error_directive() pp hook functions.
[SVN r34326]
2006-06-17 15:48:01 +00:00
Hartmut Kaiser
8074dd7a09 Fixed a problem, where non-evaluated #elif directives never got passed to the
skippen_token() pp hook (thanks to Andreas Sæbjornsen for reporting).


[SVN r34322]
2006-06-16 23:51:53 +00:00
Hartmut Kaiser
fe211736d3 Fixed main Wave iterator to return a T_EOF token at the very end of the input.
[SVN r34320]
2006-06-16 21:55:11 +00:00
Hartmut Kaiser
86418bd398 Added optional import keyword support.
[SVN r34314]
2006-06-15 22:01:09 +00:00
Hartmut Kaiser
ff02969b74 Fixed usability of true/false as macro names.
[SVN r34075]
2006-05-24 01:34:24 +00:00
Hartmut Kaiser
e96accdd01 Added the new pp hooks to Wave.
[SVN r34072]
2006-05-23 18:17:58 +00:00
Hartmut Kaiser
20d9781876 Fixed a subtle preprocessing bug.
[SVN r34045]
2006-05-20 18:49:51 +00:00
Hartmut Kaiser
ffa652f870 Updated Changelog.
[SVN r33972]
2006-05-15 15:10:29 +00:00
Hartmut Kaiser
e6f381b277 Richard Guenther fixed another buffer overrun problem in the Re2C scanner.
[SVN r33966]
2006-05-15 12:41:58 +00:00
Hartmut Kaiser
56006e45fd Changed 'evaluated_conditional_expression()' pp hook.
[SVN r33962]
2006-05-14 16:41:00 +00:00
Hartmut Kaiser
fc74d27d88 Fixed the Wave tool to return the number of errors occured.
[SVN r33910]
2006-05-02 23:07:57 +00:00
Hartmut Kaiser
a1771f5c00 Fixed Wave Jamfile.v2 to correctly disable RTTI for VC7.1
[SVN r33909]
2006-05-02 15:19:49 +00:00
Hartmut Kaiser
67f5150480 Added the name of the generating compiler (BOOST_COMPILER) to the full Wave version info.
[SVN r33902]
2006-05-02 02:44:03 +00:00
Hartmut Kaiser
fae4ff52b1 Fixed Wave tool startup crash when compiled with VC8.
[SVN r33901]
2006-05-02 02:17:29 +00:00
Hartmut Kaiser
cb3925b4dc Updated Wave change log.
[SVN r33856]
2006-04-29 01:36:11 +00:00
Hartmut Kaiser
16a77bd582 Fixed a nasty Wave bug, improved performance a lot.
[SVN r33854]
2006-04-28 23:32:04 +00:00
Hartmut Kaiser
10e07023a5 Added due credit to the Changelog.
[SVN r33832]
2006-04-26 21:00:17 +00:00
Hartmut Kaiser
646163b7fe Fixed a rare memory corruption bug in the Wave Re2C scanner buffer management code.
[SVN r33831]
2006-04-26 20:51:54 +00:00
Hartmut Kaiser
8620cf875d Fixed memory leak in the flex_string copy on write code.
[SVN r33817]
2006-04-25 17:21:01 +00:00
Hartmut Kaiser
01e4a5ff83 Added proper versioning support to the serialization of state.
[SVN r33410]
2006-03-20 18:04:09 +00:00
Hartmut Kaiser
c959794650 Wave V1.2.4
[SVN r33362]
2006-03-17 22:40:02 +00:00
Hartmut Kaiser
cb793b0c57 Wave: Fixed a dynaload compilation problem with VC7.1 of the re2c lexer tests.
[SVN r33192]
2006-03-01 18:33:45 +00:00
Hartmut Kaiser
add21dc6e5 Fixed a problem in the expression parser value type.
[SVN r33166]
2006-02-28 03:57:03 +00:00
Hartmut Kaiser
b79287fa42 Fixed two bugs related to file inclusion.
[SVN r33130]
2006-02-27 02:28:24 +00:00
Hartmut Kaiser
cd344b9dd7 Added comment for Boost V1.34.0.
[SVN r33106]
2006-02-25 18:27:22 +00:00
Hartmut Kaiser
a493efd766 [Wave] Moved token_id query functions to a separate source file.
[SVN r32378]
2006-01-23 17:03:16 +00:00