Commit Graph

1532 Commits

Author SHA1 Message Date
Hackerpilot 6a39efba0f Fixed vararg and type formatting 2013-09-10 22:47:35 -07:00
Hackerpilot ebbb1907d1 Fixed problem in startsWith. Fixed grammar error 2013-09-10 22:46:39 -07:00
Hackerpilot 0cc768260e Fixed XML output defects found by xmllint 2013-09-10 13:04:43 -07:00
Hackerpilot 80c2462445 Fixed type formatting 2013-09-01 15:25:40 +00:00
Hackerpilot 7fcf6eed14 This should have been checked in 2013-09-01 14:45:58 +00:00
Hackerpilot 2088089e36 Moved string formatting out of the AST classes 2013-09-01 13:53:36 +00:00
Hackerpilot 31548a6e6d Fixed infinine loop bug when the dot was the last character in the file 2013-09-01 13:53:01 +00:00
Hackerpilot ce53b1643b Slightly improved error recovery 2013-08-31 14:10:27 +00:00
Hackerpilot f8c128aff1 Vim autocomplete is now handled by DCD. 2013-08-30 11:34:31 -07:00
Hackerpilot b852a11a4d Typo 2013-08-26 00:20:19 -07:00
Hackerpilot bfeb20776e Fix issue #48
I HATE WINDOWS
2013-08-26 00:18:53 -07:00
Hackerpilot 42cf96c6d2 Fix issue #49 2013-08-25 11:18:59 +00:00
Hackerpilot 001118e730 Fix issue #47: Input is now read from stdin where it should be. Also made --sloc and --tokenCount work with multiple files and the recursive option 2013-08-25 11:14:29 +00:00
Hackerpilot 270cd6d9a1 Some parser fixes for DCD 2013-08-16 23:48:51 +00:00
Hackerpilot 2cc5152a68 Merge pull request #46 from eco/empty-for-init
Fix --ast crash on empty 'for' init decl/statement
2013-08-16 21:11:19 -07:00
eco 77418c8ab7 Fix --ast crash on empty 'for' init decl/statement 2013-08-16 19:52:18 -06:00
Hackerpilot bace5f0a76 Alias changes 2013-08-15 01:00:38 +00:00
Hackerpilot fc7784df35 Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2013-08-12 18:32:23 +00:00
Hackerpilot 0c8d894196 Some changes necessary for DCD 2013-08-12 18:32:09 +00:00
Hackerpilot 1b5be72c3d Merge pull request #45 from John-Colvin/patch-1
corrected templateDeclaration closing tag
2013-08-09 16:06:13 -07:00
John Colvin aad6f7d1f6 corrected templateDeclaration closing tag 2013-08-09 23:52:27 +01:00
Hackerpilot 3e3052bd81 Updated command line switch 2013-08-08 02:41:25 +00:00
Hackerpilot 1d92494f45 Fixed indentation 2013-08-07 01:41:56 +00:00
Hackerpilot 1a70b23988 Improved parser error recovery so that it's more useful in DCD 2013-08-07 01:40:05 +00:00
Hackerpilot abc861a2fe Updated readme to match new folder structure 2013-08-01 21:01:00 +00:00
Hackerpilot 28e43e21b3 Fixed dumb error with comment characters 2013-08-01 20:56:01 +00:00
Hackerpilot ad89cc9872 Merge pull request #44 from Abscissa/fix-rdmd
Rename 'std.d.*' to 'stdx.d.*' so RDMD can correctly compile Dscanner.
2013-08-01 20:48:06 -07:00
Nick Sabalausky bd225ba085 Rename 'std.d.*' to 'stdx.d.*' so RDMD can correctly compile Dscanner. 2013-08-01 23:43:02 -04:00
Hackerpilot 83fd2457d2 Merge pull request #42 from Abscissa/fix32bit
Fixed for 32-bit.
2013-08-01 19:33:01 -07:00
Nick Sabalausky b8e31c0bbb Fixed for 32-bit. 2013-08-01 22:10:55 -04:00
Hackerpilot 757c4dbb2d Fixed indentation 2013-07-31 23:05:47 +00:00
Hackerpilot c0994dc792 Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2013-07-31 23:03:59 +00:00
Hackerpilot 1113da05d8 Forgot to output struct declarations in ctags 2013-07-31 23:03:48 +00:00
Hackerpilot 0a07ae5862 Fixes issue #41 2013-07-29 13:34:34 -07:00
Hackerpilot ae0299c38d Documented syntax checker 2013-07-27 15:21:30 +00:00
Hackerpilot 86b552b312 Merged the range-based-lexer branch 2013-07-27 15:12:04 +00:00
Hackerpilot 11fbe87b64 Forgot to document syntax highlighting 2013-07-27 14:55:12 +00:00
Hackerpilot 35665966fa License headers 2013-07-27 14:52:27 +00:00
Hackerpilot e09051cf1d Added a README. Enhanced CTAGS 2013-07-27 14:49:48 +00:00
Hackerpilot 44b7e7958e XML escape instead of CDATA 2013-07-27 13:45:46 +00:00
Hackerpilot 36d397ac68 AST dump complete\! 2013-07-27 13:33:15 +00:00
Hackerpilot c7424faf56 More AST classes can be printed as XML 2013-07-27 03:12:36 +00:00
Hackerpilot 4a9c8699a5 Closer to having the AST classes completed 2013-07-27 03:12:14 +00:00
Hackerpilot 830bd82ae3 Fixed compile error 2013-07-26 23:44:34 +00:00
Hackerpilot fe1bdef759 CTAGS and AST printing 2013-07-26 23:34:56 -07:00
Hackerpilot 1dd2baf722 Merge pull request #40 from jwhear/master
Fix recursive Ctags
2013-07-26 14:44:33 -07:00
Justin Whear 91c8be08b5 cleanup 2013-07-26 13:32:14 -07:00
Justin Whear 4f32e16e2b Fix recursive Ctags output
Previously using `dscanner --ctags -R <dir>` would output tags without
any filenames, making it pretty useless for navigating in a project.
This was due to all the syntax objects being merged into a single generic
Module, then outputting that module without a filename specified.

This fix does the following:
 * Moves the CTag header output from the Module class to the proper spot in
    main.d
 * Renames `Module.writeCtagsTo` to `getCtags` and now returns string[]
    with the prepared tag lines.
 * The CTag printing functionality in main.d now gathers all tag lines
    from each module, sorts, then outputs.

Note that a more optimal implementation would be fairly straightforward.
Instead of simply returning a string[], `Module.toCtags` could take a
sorted container and insert in sorted order.  main.d could pass this
container to each module in turn, then output the results.
2013-07-26 13:05:17 -07:00
Hackerpilot 722f38dd68 Fixed issue #39 2013-07-26 10:31:55 -07:00
Hackerpilot 1aec76fdea Added basic XML output 2013-07-23 01:46:08 +00:00