Commit Graph
2513 Commits
Author SHA1 Message Date
Nigel Tao 824b87bb86 Roll back cb198413 re MSVC __cplusplus macro
Commit cb19841358 "Work around MSVC's
__cplusplus regarding C++11" did not fix compiler errors with older MSVC
versions as hoped.
2020-06-17 21:18:36 +10:00
Nigel Tao 025f9c208e Roll back 196920ee unique_ptr constructors
Commit 196920ee91 "Spell out
std::unique_ptr constructor calls" did not fix compiler errors with
older MSVC versions as hoped.
2020-06-17 21:12:07 +10:00
Nigel Tao a7418b76fc wuffs gen -version=0.3.0-alpha.3 2020-06-17 15:57:23 +10:00
Nigel Tao 196920ee91 Spell out std::unique_ptr constructor calls 2020-06-17 15:56:46 +10:00
Nigel Tao c8026c91ff wuffs gen -version=0.3.0-alpha.2 2020-06-17 06:46:00 +10:00
Nigel Tao cb19841358 Work around MSVC's __cplusplus regarding C++11 2020-06-17 06:39:45 +10:00
Nigel Tao 635b502649 Tweak lib/dumbindent's comments 2020-06-16 22:34:36 +10:00
Nigel Tao ab580e7696 Add more comments on wuffsfmt's -l and -w flags 2020-06-16 14:27:13 +10:00
Nigel Tao c9b50c0be7 Add links to dumbindent blog post 2020-06-16 14:25:46 +10:00
Nigel Tao c29853ffef Add links to other convert-to-nia implementations 2020-06-16 14:24:00 +10:00
Nigel Tao 30793928d0 wuffs gen -version=0.3.0-alpha.1 2020-06-11 23:02:02 +10:00
Nigel Tao 533b84b3b1 Simplify WUFFS_VERSION_ETC macros 2020-06-11 23:01:50 +10:00
Nigel Tao 82233fe06c Fix dumbindent comment typo 2020-06-10 22:52:49 +10:00
Nigel Tao f89d2ef4ab Update doc/note/auto-formatting.md comparison link 2020-06-10 22:43:51 +10:00
Nigel Tao f935120aa6 Tweak how dumbindent handles #preproc lines 2020-06-10 22:37:54 +10:00
Nigel Tao b1ea22045a Stop dumbindent adding or removing line breaks 2020-06-10 21:51:25 +10:00
Nigel Tao b82396a3c6 Stop dumbindent dropping blank lines near braces 2020-06-10 21:06:06 +10:00
Nigel Tao 58c0862c50 Stop dumbindent collapsing consecutive blank lines 2020-06-10 12:22:41 +10:00
Nigel Tao ed48514f30 Remove ast.NewExpr statusPkg arg 2020-06-10 12:05:48 +10:00
Nigel Tao 7dc73a856a Remove unused checker.exprConstValue method 2020-06-10 11:43:46 +10:00
Nigel Tao 74d291453d Un-special-case parsing base."etc" 2020-06-10 11:34:56 +10:00
Nigel Tao 4e2d0c1e5f Cgen explicit type cast for (CONSTANT >> x) 2020-06-10 10:32:13 +10:00
Nigel Tao 66b0a12b6c Add json.EXPECT_ETC constants 2020-06-09 23:50:35 +10:00
Nigel Tao 3d31ac03eb Add base.TOKEN__ETC constants 2020-06-09 23:34:42 +10:00
Nigel Tao 8bd30e912c Tweak dumbindent.breakAfterBrace 2020-06-09 22:45:40 +10:00
Nigel Tao 63c12cad17 Have dumbindent catch "namespace foo {". 2020-06-09 22:08:39 +10:00
Nigel Tao 3b1d3d0a39 Remove check.Error.OtherFoo fields 2020-06-09 17:00:24 +10:00
Nigel Tao 6f43ab4b92 Reject duplicate top level names 2020-06-09 16:59:43 +10:00
Nigel Tao 1dae694e00 Update doc/note/auto-formatting.md comparison link 2020-06-09 15:59:46 +10:00
Nigel Tao 8bf4084c8b Update dumbindent comparison for clang-format-9
The numbers are the median real time of 5 runs.
2020-06-09 15:46:56 +10:00
Nigel Tao 7e32336de0 Add base.PIXEL_FORMAT__ETC constants 2020-06-09 12:34:34 +10:00
Nigel Tao 983c5cd90e Update doc/note/auto-formatting.md comparison link 2020-06-08 23:29:52 +10:00
Nigel Tao 22d08366c8 Add dumbindent algorithm comment 2020-06-08 23:25:08 +10:00
Nigel Tao e42d126667 Update doc/note/auto-formatting.md comparison link 2020-06-07 22:02:07 +10:00
Nigel Tao 2858c4cfc2 Add dumbindent.Options (tabs vs spaces) 2020-06-07 21:59:53 +10:00
Nigel Tao 53d5f5155c Have dumbindent break after some '{' and ';'s 2020-06-07 21:52:24 +10:00
Nigel Tao 709e169955 Have cgen line-break some long expressions 2020-06-07 10:12:47 +10:00
Nigel Tao 60cd231e65 Update doc/note/auto-formatting.md comparison link 2020-06-06 22:45:57 +10:00
Nigel Tao 7b6ce4a595 Remove dumbindent debugging code 2020-06-06 22:41:15 +10:00
Nigel Tao 0ad5f9b617 Have dumbindent no longer treat labels specially 2020-06-06 22:38:29 +10:00
Nigel Tao 6424bae087 Have dumbindent handle multi-line strings/comments
Fixes #31
2020-06-06 22:32:39 +10:00
Nigel Tao 3d7af06727 Have dumbindent take a dst slice argument 2020-06-06 21:09:41 +10:00
Nigel Tao dd04d55417 Update dumbindent comparison for clang-format-9 2020-06-05 18:35:05 +10:00
Nigel Tao f45f01f4f3 Update clang-format from v5 to v9 2020-06-05 14:06:56 +10:00
Nigel Tao d48a4eb581 Add dumbindent comment about extern "C" 2020-06-05 13:26:32 +10:00
Nigel Tao 78daf1ca91 Update doc/note/auto-formatting.md for dumbindent 2020-06-05 10:59:27 +10:00
Nigel Tao a0f7059eeb Tweak changelog bullet for C formatting 2020-06-05 10:46:42 +10:00
Nigel Tao 527a9ac984 Spin out an internal/cgen/data directory
Grepping in internal/cgen/*.go will no longer also grep in the generated
data.go file.
2020-06-05 10:36:17 +10:00
Nigel Tao d0dec081a6 Tweak cgen+dumbindent output 2020-06-05 10:22:14 +10:00
Nigel Tao d5d4da0ab6 Add some "// --------" section-break comments 2020-06-05 00:10:31 +10:00