ohcount
15 years agoMerge branch 'master' of congo:dev/ohcount
Robin Luckey [Fri, 7 Nov 2008 21:42:37 +0000 (13:42 -0800)] 
Merge branch 'master' of congo:dev/ohcount

Conflicts:

rules/platforms.rb
test/unit/gestalt/platform_test.rb

15 years ago[NEW] Added a new file_rule : java_imports
Jason Allen [Fri, 7 Nov 2008 20:21:33 +0000 (12:21 -0800)] 
[NEW] Added a new file_rule : java_imports
[NEW] Added a new platform: EclipsePlatform

15 years ago[FIX] Yanking unused libraries rules file (no longer needed)
Jason Allen [Fri, 7 Nov 2008 19:35:51 +0000 (11:35 -0800)] 
[FIX] Yanking unused libraries rules file (no longer needed)

15 years agoMerge robin@congo:dev/ohcount
Jason Allen [Fri, 7 Nov 2008 10:10:25 +0000 (02:10 -0800)] 
Merge robin@congo:dev/ohcount

Conflicts:

test/unit/gestalt/library_test.rb

15 years ago[NEW] Yanked libraries and merged their rules into Platform rules
Jason Allen [Fri, 7 Nov 2008 10:06:00 +0000 (02:06 -0800)] 
[NEW] Yanked libraries and merged their rules into Platform rules

15 years ago[NEW] add basic KDE support
andy@ohloh.net [Fri, 7 Nov 2008 09:48:24 +0000 (01:48 -0800)] 
[NEW] add basic KDE support

15 years agoMerge robin@congo:dev/ohcount
Jason Allen [Fri, 7 Nov 2008 03:27:52 +0000 (19:27 -0800)] 
Merge robin@congo:dev/ohcount

15 years ago[INTERIM] Getting ready for tools and cleanup
Jason Allen [Fri, 7 Nov 2008 03:27:38 +0000 (19:27 -0800)] 
[INTERIM] Getting ready for tools and cleanup

15 years ago[NEW] find XWindows
andy@ohloh.net [Fri, 7 Nov 2008 02:00:34 +0000 (18:00 -0800)] 
[NEW] find XWindows

15 years ago[NEW] PHP platform
Robin Luckey [Fri, 7 Nov 2008 01:15:16 +0000 (17:15 -0800)] 
[NEW] PHP platform

15 years ago[NEW] Plist files indicate mac platform
Robin Luckey [Fri, 7 Nov 2008 00:52:34 +0000 (16:52 -0800)] 
[NEW] Plist files indicate mac platform

15 years agoMerge robin@congo:dev/ohcount
Jason Allen [Fri, 7 Nov 2008 00:37:20 +0000 (16:37 -0800)] 
Merge robin@congo:dev/ohcount

Conflicts:

rules/libraries.rb
rules/platforms.rb
test/unit/gestalt/platform_test.rb

15 years ago[NEW] File trigger for library rules now allows files that aren't strictly source...
Jason Allen [Fri, 7 Nov 2008 00:34:18 +0000 (16:34 -0800)] 
[NEW] File trigger for library rules now allows files that aren't strictly source code files (like jars)
[FIX] We dont crash when parsing a directory
[NEW] JQuery platform added

15 years ago[CHANGE] Remove the 'empty' Linux platform; leave only POSIX
Robin Luckey [Fri, 7 Nov 2008 00:11:32 +0000 (16:11 -0800)] 
[CHANGE] Remove the 'empty' Linux platform; leave only POSIX

15 years ago[FIX] missing directory
andy@ohloh.net [Fri, 7 Nov 2008 00:09:13 +0000 (16:09 -0800)] 
[FIX] missing directory

15 years agoMerge branch 'master' of robin@congo:dev/ohcount
andy@ohloh.net [Fri, 7 Nov 2008 00:04:22 +0000 (16:04 -0800)] 
Merge branch 'master' of robin@congo:dev/ohcount

15 years ago[NEW] Add simple AppleEvents, Mac platform
andy@ohloh.net [Fri, 7 Nov 2008 00:04:01 +0000 (16:04 -0800)] 
[NEW] Add simple AppleEvents, Mac platform

15 years ago[FIX] Default bin/ohcount now runs 'summary' - as expected (was running gestalt,...
Jason Allen [Thu, 6 Nov 2008 23:56:25 +0000 (15:56 -0800)] 
[FIX] Default bin/ohcount now runs 'summary' - as expected (was running gestalt, by mistake)

15 years ago[NEW] FileTest now works with multiple args, and assumes they are all Regular Expressions
Jason Allen [Thu, 6 Nov 2008 23:53:58 +0000 (15:53 -0800)] 
[NEW] FileTest now works with multiple args, and assumes they are all Regular Expressions
[NEW] SpringFramework now recognized

15 years ago[NEW] Added java as a platform
Jason Allen [Thu, 6 Nov 2008 23:36:06 +0000 (15:36 -0800)] 
[NEW] Added java as a platform

15 years ago[NEW] Rails a recognized platform
Jason Allen [Thu, 6 Nov 2008 22:17:46 +0000 (14:17 -0800)] 
[NEW] Rails a recognized platform

15 years ago[CLEANUP] yanked gestalt/base -- superceded by source_file_list
Jason Allen [Thu, 6 Nov 2008 20:28:09 +0000 (12:28 -0800)] 
[CLEANUP] yanked gestalt/base -- superceded by source_file_list

15 years ago[INTERIM] More gestalt and cleanup
Jason Allen [Thu, 6 Nov 2008 20:17:20 +0000 (12:17 -0800)] 
[INTERIM] More gestalt and cleanup

15 years ago[NEW] Ohcount cleanup & reorganizing: introducing SourceFile: the ohcount orienting...
Jason Allen [Fri, 31 Oct 2008 13:44:08 +0000 (06:44 -0700)] 
[NEW] Ohcount cleanup & reorganizing: introducing SourceFile: the ohcount orienting concept.
[NEW] Gestalt functionality: can specify rules for how platforms can be determined

15 years ago[NEW] Major cleanup. Morphed SimpleFileContext into a more general SourceFile, from
Jason Allen [Tue, 28 Oct 2008 19:39:04 +0000 (12:39 -0700)] 
[NEW] Major cleanup. Morphed SimpleFileContext into a more general SourceFile, from
      which most of ohcount's functionality is now available.

15 years ago[FIX] Better detection of lgpl3
Robin Luckey [Wed, 1 Oct 2008 17:42:06 +0000 (10:42 -0700)] 
[FIX] Better detection of lgpl3

16 years ago[FIX] "haxe" was incorrectly listed has "hx" in the sloc_info hash
Robin Luckey [Tue, 30 Sep 2008 23:50:25 +0000 (16:50 -0700)] 
[FIX] "haxe" was incorrectly listed has "hx" in the sloc_info hash

16 years agoAdded haXe parser and test case
Niel Drummond [Fri, 19 Sep 2008 17:10:53 +0000 (19:10 +0200)] 
Added haXe parser and test case

16 years ago[FIX] Better detection of GPL3 ... add match for "GNU GPL v3"
Robin Luckey [Mon, 15 Sep 2008 21:17:18 +0000 (14:17 -0700)] 
[FIX] Better detection of GPL3 ... add match for "GNU GPL v3"

16 years ago[FIX] Perl POD can be terminated by EOF
Robin Luckey [Mon, 15 Sep 2008 21:08:10 +0000 (14:08 -0700)] 
[FIX] Perl POD can be terminated by EOF

16 years ago[NEW] Add basic detection for GNU Affero General Public License. Not version sensitive.
Robin Luckey [Fri, 12 Sep 2008 16:07:45 +0000 (09:07 -0700)] 
[NEW] Add basic detection for GNU Affero General Public License. Not version sensitive.

16 years ago[FIX] Mac is filename case insenstive; linux is not. 2.0.0
Robin Luckey [Tue, 9 Sep 2008 17:11:02 +0000 (10:11 -0700)] 
[FIX] Mac is filename case insenstive; linux is not.

16 years ago[FIX] Rename 'R' to 'r' for consistency with other languages.
Robin Luckey [Tue, 9 Sep 2008 17:01:42 +0000 (10:01 -0700)] 
[FIX] Rename 'R' to 'r' for consistency with other languages.
[FIX] Remove redundant entries from EXTENSION_MAP that simply list uppercase versions of extensions.

16 years agoAdded test case for R language support.
Mark Hoebeke [Fri, 5 Sep 2008 07:03:23 +0000 (09:03 +0200)] 
Added test case for R language support.

16 years ago[FIX] Remove unused file
Robin Luckey [Wed, 3 Sep 2008 19:09:19 +0000 (12:09 -0700)] 
[FIX] Remove unused file

16 years ago[FIX] Massive change triggered by a bug in the Ohloh/Ohcount interface.
Robin Luckey [Thu, 28 Aug 2008 20:46:54 +0000 (13:46 -0700)] 
[FIX] Massive change triggered by a bug in the Ohloh/Ohcount interface.
      Some Ohloh-specific code has been removed from Ohcount.
      This also (happily) leads to a refactoring of the unit tests. It should be much easier to create tests now.

16 years ago[NEW] Count *.pmc (Perl Magic Cookie) and *.xs (Perl/C native interfact) files as C
fperraad [Tue, 26 Aug 2008 21:43:44 +0000 (14:43 -0700)] 
[NEW] Count *.pmc (Perl Magic Cookie) and *.xs (Perl/C native interfact) files as C

16 years agoMerge git://github.com/korsakov/ohcount into haml
Robin Luckey [Tue, 26 Aug 2008 21:22:38 +0000 (14:22 -0700)] 
Merge git://github.com/korsakov/ohcount into haml

16 years agoMerge branch 'master' of git://github.com/mitchell/ohcount
Fedor Korsakov [Fri, 15 Aug 2008 08:38:37 +0000 (03:38 -0500)] 
Merge branch 'master' of git://github.com/mitchell/ohcount

16 years agoHaml support
Fedor Korsakov [Fri, 15 Aug 2008 08:37:26 +0000 (03:37 -0500)] 
Haml support

16 years agoUpdated Haml parser to recognize embedded Ruby, xhtml tag modifiers still need develo...
Fedor Korsakov [Tue, 12 Aug 2008 01:47:12 +0000 (20:47 -0500)] 
Updated Haml parser to recognize embedded Ruby, xhtml tag modifiers still need development.

16 years agoFixed important typo in PARSER_DOC.
mitchell [Fri, 8 Aug 2008 15:26:40 +0000 (11:26 -0400)] 
Fixed important typo in PARSER_DOC.

16 years ago[CHANGE] Cut the feature to remove trailing punctuation from comments, since it can...
Robin Luckey [Thu, 7 Aug 2008 22:08:17 +0000 (15:08 -0700)] 
[CHANGE] Cut the feature to remove trailing punctuation from comments, since it can lead to runaway regex CPU churn

16 years ago[FIX] Forgotten files
Robin Luckey [Thu, 7 Aug 2008 21:53:45 +0000 (14:53 -0700)] 
[FIX] Forgotten files

16 years ago[FIX] More flexible detection of gpl3_or_later
Robin Luckey [Thu, 7 Aug 2008 21:53:14 +0000 (14:53 -0700)] 
[FIX] More flexible detection of gpl3_or_later

16 years agoPartial Haml support with Ruby block detection.
Fedor Korsakov [Mon, 4 Aug 2008 11:07:14 +0000 (06:07 -0500)] 
Partial Haml support with Ruby block detection.

16 years agoMerge git://github.com/korsakov/ohcount
Robin Luckey [Tue, 29 Jul 2008 16:57:18 +0000 (09:57 -0700)] 
Merge git://github.com/korsakov/ohcount

16 years agoMerge branch 'master' of git://github.com/korsakov/ohcount
mitchell [Tue, 29 Jul 2008 06:05:35 +0000 (02:05 -0400)] 
Merge branch 'master' of git://github.com/korsakov/ohcount

16 years agoSupport for Stratego.
Fedor Korsakov [Mon, 28 Jul 2008 15:19:05 +0000 (10:19 -0500)] 
Support for Stratego.

16 years agoAdded unit tests for parent parsers.
mitchell [Mon, 21 Jul 2008 18:42:42 +0000 (14:42 -0400)] 
Added unit tests for parent parsers.

16 years agoAdded embedded language entities to the rest of the parent parsers.
mitchell [Sat, 19 Jul 2008 05:30:43 +0000 (01:30 -0400)] 
Added embedded language entities to the rest of the parent parsers.

16 years agoAdded CSS, Javascript, and PHP entity parsing to phphtml parser.
mitchell [Fri, 18 Jul 2008 22:33:07 +0000 (18:33 -0400)] 
Added CSS, Javascript, and PHP entity parsing to phphtml parser.

16 years ago[BUG] This snapshot does not pass the rake! The php entity parser is not implemented...
Robin Luckey [Fri, 18 Jul 2008 22:24:57 +0000 (15:24 -0700)] 
[BUG] This snapshot does not pass the rake! The php entity parser is not implemented; license parsing breaks for php.
[NEW] Add unit tests for license detection with line breaks.

16 years ago[FIX] Change load priority of libs -- local code first, gem second.
Robin Luckey [Fri, 18 Jul 2008 21:00:29 +0000 (14:00 -0700)] 
[FIX] Change load priority of libs -- local code first, gem second.

16 years agoMerged ohcount changes that were overwritten by accident.
mitchell [Fri, 18 Jul 2008 20:40:12 +0000 (16:40 -0400)] 
Merged ohcount changes that were overwritten by accident.

16 years agoIgnore punctuation for comments in license detection.
mitchell [Fri, 18 Jul 2008 20:34:41 +0000 (16:34 -0400)] 
Ignore punctuation for comments in license detection.

16 years agoMerge branch 'master' of git://github.com/robinluckey/ohcount
mitchell [Fri, 18 Jul 2008 20:34:01 +0000 (16:34 -0400)] 
Merge branch 'master' of git://github.com/robinluckey/ohcount

16 years agoMerge branch 'master' of git://github.com/mitchell/ohcount
Fedor Korsakov [Fri, 18 Jul 2008 01:29:59 +0000 (20:29 -0500)] 
Merge branch 'master' of git://github.com/mitchell/ohcount

16 years ago[FIX] Gem fixes: Add lib/license to the gem, also fix ticket #229.
Robin Luckey [Thu, 17 Jul 2008 20:46:48 +0000 (13:46 -0700)] 
[FIX] Gem fixes: Add lib/license to the gem, also fix ticket #229.
      There's still some trouble with RDoc in the gem install.

16 years agoAdded unit tests for partial entity parsers.
mitchell [Thu, 17 Jul 2008 19:50:02 +0000 (15:50 -0400)] 
Added unit tests for partial entity parsers.

16 years agoAdded extra block comment to SQL parser's entity parser.
mitchell [Thu, 17 Jul 2008 19:46:08 +0000 (15:46 -0400)] 
Added extra block comment to SQL parser's entity parser.

16 years agoAdded partial entity parser for Ruby.
mitchell [Thu, 17 Jul 2008 19:45:36 +0000 (15:45 -0400)] 
Added partial entity parser for Ruby.

16 years agoFixed Perl parser's entity parser.
mitchell [Thu, 17 Jul 2008 19:45:06 +0000 (15:45 -0400)] 
Fixed Perl parser's entity parser.

16 years agoFixed Haskell parser's entity parser.
mitchell [Thu, 17 Jul 2008 19:44:44 +0000 (15:44 -0400)] 
Fixed Haskell parser's entity parser.

16 years agoFixed Actionscript parser's entity parser.
mitchell [Thu, 17 Jul 2008 19:44:10 +0000 (15:44 -0400)] 
Fixed Actionscript parser's entity parser.

16 years ago[FIX] Improved apache_2 recognition -- may or may not include "Version" before "2.0"
Robin Luckey [Thu, 17 Jul 2008 19:01:25 +0000 (12:01 -0700)] 
[FIX] Improved apache_2 recognition -- may or may not include "Version" before "2.0"

16 years agoAdded partial entity parsers to all lexers; updated ohcount -l to use.
mitchell [Thu, 17 Jul 2008 05:51:40 +0000 (01:51 -0400)] 
Added partial entity parsers to all lexers; updated ohcount -l to use.
More specifically, added comment entities to all languages so ohcount's license
sniffer now uses parse_entities() and looks for :comment entities to build a
comment string for the buffer.

16 years ago[CHANGE] Simplify bin/ohcount -l output for easier post-processing
Robin Luckey [Mon, 14 Jul 2008 20:15:38 +0000 (13:15 -0700)] 
[CHANGE] Simplify bin/ohcount -l output for easier post-processing

16 years ago[NEW] Add LGPL3 to the license_map
Robin Luckey [Mon, 14 Jul 2008 19:59:32 +0000 (12:59 -0700)] 
[NEW] Add LGPL3 to the license_map

16 years agoAdditional test cases for Lisp.
Fedor Korsakov [Fri, 11 Jul 2008 09:01:08 +0000 (04:01 -0500)] 
Additional test cases for Lisp.

16 years agoMerge branch 'master' of git://labs.ohloh.net/git/ohcount
Fedor Korsakov [Fri, 11 Jul 2008 08:54:09 +0000 (03:54 -0500)] 
Merge branch 'master' of git://labs.ohloh.net/git/ohcount

16 years ago[FIX] Added docstring support to Lisp.
Fedor Korsakov [Fri, 11 Jul 2008 08:49:12 +0000 (03:49 -0500)] 
[FIX] Added docstring support to Lisp.

16 years agoMerge branch 'master' of git://labs.ohloh.net/git/ohcount
Daniel Luz [Thu, 10 Jul 2008 22:55:21 +0000 (19:55 -0300)] 
Merge branch 'master' of git://labs.ohloh.net/git/ohcount

16 years agoAllocate space for the null terminators on LanguageBreakdown
Daniel Luz [Thu, 10 Jul 2008 06:15:53 +0000 (03:15 -0300)] 
Allocate space for the null terminators on LanguageBreakdown

16 years agoMerge git://github.com/mitchell/ohcount
Robin Luckey [Wed, 9 Jul 2008 21:31:35 +0000 (14:31 -0700)] 
Merge git://github.com/mitchell/ohcount

16 years agoPossible fix for the "random" memory free errors.
mitchell [Wed, 9 Jul 2008 21:22:08 +0000 (17:22 -0400)] 
Possible fix for the "random" memory free errors.

16 years agoMerge git://github.com/mitchell/ohcount
Robin Luckey [Wed, 9 Jul 2008 21:09:08 +0000 (14:09 -0700)] 
Merge git://github.com/mitchell/ohcount

16 years agoRemoved unnecessary ()'s in xml parser.
mitchell [Wed, 9 Jul 2008 21:09:04 +0000 (17:09 -0400)] 
Removed unnecessary ()'s in xml parser.

16 years agoString escapes aren't allowed in XML; use ", ', etc.
mitchell [Wed, 9 Jul 2008 21:07:23 +0000 (17:07 -0400)] 
String escapes aren't allowed in XML; use ", ', etc.

16 years agoMerge git://github.com/mitchell/ohcount
Robin Luckey [Wed, 9 Jul 2008 21:06:03 +0000 (14:06 -0700)] 
Merge git://github.com/mitchell/ohcount

16 years agoTestsuite for factor programming language
Alfredo Beaumont [Wed, 9 Jul 2008 18:46:10 +0000 (20:46 +0200)] 
Testsuite for factor programming language

16 years agoSupport for Factor programming language http://factorcode.org
Alfredo Beaumont [Wed, 9 Jul 2008 18:20:06 +0000 (20:20 +0200)] 
Support for Factor programming language factorcode.org

16 years agoMerge branch 'master' of git://github.com/robinluckey/ohcount
mitchell [Wed, 9 Jul 2008 03:07:11 +0000 (23:07 -0400)] 
Merge branch 'master' of git://github.com/robinluckey/ohcount

16 years ago[FIX] Added a OHCOUNT_ROOT global so that included libs always work. We can now run...
Jason Allen [Wed, 9 Jul 2008 01:29:37 +0000 (18:29 -0700)] 
[FIX] Added a OHCOUNT_ROOT global so that included libs always work. We can now run tests just by calling 'ruby test/unit/xxx.rb'
[FIX] Added an exception to be thrown on Ohcount::parse if the polyglot passed is nil
[NEW] Ported the ohloh LicenseSniffer to ohcount. Made it easy to add/edit test files.

16 years ago[CHANGE] Bumping version number to 2.0.0
Robin Luckey [Mon, 7 Jul 2008 21:23:40 +0000 (14:23 -0700)] 
[CHANGE] Bumping version number to 2.0.0

16 years agoXML and friends shouldn't have multiline strings (like HTML).
mitchell [Mon, 7 Jul 2008 19:41:08 +0000 (15:41 -0400)] 
XML and friends shouldn't have multiline strings (like HTML).

16 years ago[FIX] Clean up .gitignores
Robin Luckey [Thu, 3 Jul 2008 21:15:16 +0000 (14:15 -0700)] 
[FIX] Clean up .gitignores

16 years ago[FIX] 'objective c' parser name should be 'objective_c' to match sloc_info table
Robin Luckey [Thu, 3 Jul 2008 20:48:03 +0000 (13:48 -0700)] 
[FIX] 'objective c' parser name should be 'objective_c' to match sloc_info table

16 years ago[FIX] Whitespace cleanup
Robin Luckey [Tue, 1 Jul 2008 17:48:37 +0000 (10:48 -0700)] 
[FIX] Whitespace cleanup

16 years agoRemoved partial Haml support.
Fedor Korsakov [Tue, 1 Jul 2008 03:16:54 +0000 (22:16 -0500)] 
Removed partial Haml support.

16 years agoMerged with Mitchell's branch and resolved conflicts. Haml support remains rudimentary.
Fedor Korsakov [Mon, 30 Jun 2008 09:18:05 +0000 (04:18 -0500)] 
Merged with Mitchell's branch and resolved conflicts. Haml support remains rudimentary.

16 years agoInclude stdlib to remove language_breakdown.c warnings.
mitchell [Fri, 27 Jun 2008 00:03:38 +0000 (20:03 -0400)] 
Include stdlib to remove language_breakdown.c warnings.

16 years agoMerge from Ohcount main line
Robin Luckey [Thu, 26 Jun 2008 23:52:28 +0000 (16:52 -0700)] 
Merge from Ohcount main line

Conflicts:

ext/ohcount_native/generator.rb
test/unit/vhdl_test.rb

16 years ago[FIX] increase MAX_LANGUAGE_NAME
Robin Luckey [Thu, 26 Jun 2008 23:46:35 +0000 (16:46 -0700)] 
[FIX] increase MAX_LANGUAGE_NAME

16 years agoDeleted the code the new Ragel parser obsoletes.
mitchell [Thu, 26 Jun 2008 22:37:23 +0000 (18:37 -0400)] 
Deleted the code the new Ragel parser obsoletes.

16 years ago[FIX] bin/ohcount incorrectly output nothing at all in the case where comment % cause...
Robin Luckey [Thu, 26 Jun 2008 21:24:31 +0000 (14:24 -0700)] 
[FIX] bin/ohcount incorrectly output nothing at all in the case where comment % causes div/0

16 years agoIgnore switches to executables in detector.rb.
mitchell [Tue, 24 Jun 2008 19:20:40 +0000 (15:20 -0400)] 
Ignore switches to executables in detector.rb.
e.g. 'a /usr/bin/perl -w script text executable'.

16 years agoCheck for buffer overflow before writing to lb so there's no segfaulting.
mitchell [Tue, 24 Jun 2008 05:38:48 +0000 (01:38 -0400)] 
Check for buffer overflow before writing to lb so there's no segfaulting.
For now I'm ceasing callbacks when buffer overflows occur. In the future I'll
probably add a Ruby exception that will be thrown and can be caught to notify
the user of the file that wasn't parsed correctly.

16 years agoAdded enqueue..commit to lua.rl's longstrings.
mitchell [Mon, 23 Jun 2008 20:08:01 +0000 (16:08 -0400)] 
Added enqueue..commit to lua.rl's longstrings.

16 years agoFixed parsers that could succomb to segfaulting.
mitchell [Mon, 23 Jun 2008 20:03:45 +0000 (16:03 -0400)] 
Fixed parsers that could succomb to segfaulting.
It happens for parsers can cannot detect all language entities yet such as
HEREDOCs, or ones that have complicated entities.
I've ignored the other parsers that cover all of their language entities because
ohcount will only parser syntactically correct code.