Change on 2012-02-27 19:22:54-08:00 by nnaze

	sets was introduced as a module in Python 2.3 and was promoted to a
	built-in in Python 2.4. The original module was deprecated in 2.6
	as a result.  Switching to the built-in to avoid the deprecation
	warning in gjslint.

	R=ajp
	DELTA=5  (0 added, 0 deleted, 5 changed)

Change on 2012-03-15 17:28:44-07:00 by nnaze

	Fix the GJsLint presubmit.

	R=ajp
	DELTA=32  (2 added, 27 deleted, 3 changed)

Change on 2012-03-15 17:33:01-07:00 by nnaze

	Handle the spurious OS process errors we're seeing when trying
	to clean up the multiprocess pool so that we don't dump all over
	users' consoles.

	R=ajp
	DELTA=19  (11 added, 0 deleted, 8 changed)

Change on 2012-03-23 22:04:47-07:00 by nnaze

	Untangle the tokenization, metadata, and lint checking actions,
	factoring them out into separate passes.

	R=ajp
	DELTA=620  (326 added, 193 deleted, 101 changed)

Change on 2012-04-16 12:18:05-07:00 by nnaze

	Add matchers to identify goog.scope statements.  Usage to come in
	following CLs.

	R=ajp
	DELTA=366  (366 added, 0 deleted, 0 changed)

Change on 2012-04-19 11:30:46-07:00 by nnaze

	Matcher for scoped blocks (goog.scope).

	R=michaelthomas,ajp
	DELTA=133  (123 added, 3 deleted, 7 changed)

Change on 2012-05-02 13:42:32-07:00 by nnaze

	Add alias pass to identify goog.scope aliases and check for
	bad usages.  Also adds alias metadata.

	Integration with gjslint coming in followup CL.

	R=michaelthomas,ajp
	DELTA=416  (399 added, 0 deleted, 17 changed)

Change on 2012-05-15 12:39:50-07:00 by shmichael

	Ignore goog.scope artifacts when deciding on top-level token rules.

	R=michaelthomas
	DELTA=124  (92 added, 23 deleted, 9 changed)

Change on 2012-05-24 16:27:52-07:00 by nnaze

	Add attributes to Function objects to remember the parameter
	names and start and end tokens (for later reference).

	Also add a utility function to convert tokens back into a string.

	R=ajp
	DELTA=222  (205 added, 0 deleted, 17 changed)

Change on 2012-05-31 08:43:28-07:00 by michaelthomas

	Make the unused private members check work without specifying
	closurized namespaces.

	R=nnaze
	DELTA=8  (4 added, 0 deleted, 4 changed)

Change on 2012-05-31 14:51:07-07:00 by nnaze

	Add method to JsDocComment to identify the target of the comment.

	Additionally introduce testutil to handle the common tasks of
	tokenizing a source or running an ECMA pass.  Use it throughout
	the project's tests.

	R=ajp
	DELTA=345  (225 added, 62 deleted, 58 changed)

Change on 2012-05-31 15:08:05-07:00 by nnaze

	Modify DocComment to remember all DocFlags (for later reference),
	not just the last ones and per type and parameter.  Change
	implementation to use the doc flag list as the canonical source
	of truth and add unit tests.

	R=ajp
	DELTA=135  (113 added, 14 deleted, 8 changed)

Change on 2012-06-04 10:50:01-07:00 by nnaze

	Accidental change to DocComment __repr__ function causing error.
	Fix, and add test that would have caught it.

	R=ajp
	DELTA=14  (12 added, 0 deleted, 2 changed)

Change on 2012-06-06 10:49:36-07:00 by nnaze

	Add GetDescription() method to DocComment

	R=ajp
	DELTA=63  (49 added, 0 deleted, 14 changed)

Change on 2012-06-13 10:10:27-07:00 by gdennis

	Update the gjslint scrubber_config to remove "import google3" so that the whole gjslint package builds successfully and its presubmit checks pass.

	R=ajp
	DELTA=1  (1 added, 0 deleted, 0 changed)

Change on 2012-06-18 12:54:33-07:00 by augie

	Migrate all try/except blocks to the syntax specified in PEP 3110[0] and
	supported in Python 2.6 and later.

	TL;DR: If you use AppEngine's 2.5 runtime or 2.4 from GRTE, don't
	approve this, ask me to revert and read the rest of this description.

	The old syntax looks like this:

	try:
	  ...
	except (ErrorType1, ErrorType2), e:
	  ...

	while the new format looks like this:

	try:
	  ...
	except (ErrorType1, ErrorType2) as e:
	  ...

	This reduces the likelihood of wanting to catch two exception types
	but accidentally catching only one of the types and using the second
	exception type as the variable name. It's now recommended by the style
	guide [1] and is forward-compatible with Python 3.x. This will ease an
	eventual transition to Python 3, which is currently expected to
	begin in 2013.

	NOTE: This CL is being managed by http://go/rosie, and is part of a
	batch that touches just over 18,000 files. If you have nits that are
	unrelated to this change, I'd _greatly_ appreciate it if you could fix
	them yourself in a followup. If your project needs to retain 2.4
	compatibility, please ask me to revert these changes, but know that
	GRTE versions which contain Python 2.4 are very close to being
	completely unsupported, and python-team really wants people on 2.6
	ASAP. Python 2.7 will be part of the upcoming GRTEv3.

	[0]: http://www.python.org/dev/peps/pep-3110/
	[1]: http://www.corp.google.com/eng/doc/pyguide.xml#Exceptions

	Tested:
	    TAP presubmits for global presubmit queue
	    Some tests failed; test failures are believed to be unrelated to this CL

	R=ajp
	DELTA=3  (0 added, 0 deleted, 3 changed)

Change on 2012-06-19 09:54:45-07:00 by normanr

	Switch to non-versioned python shebang, this fixes non-built scripts (like release_tools) on gPrecise.  This will also allow cl/31039936 to be resubmitted without breaking these tools.

	Meta-cl: cl/31165088

	R=ajp
	DELTA=1  (0 added, 0 deleted, 1 changed)

Change on 2012-06-25 11:32:54-07:00 by ajp

	Fix problem in autofixing when you delete the first token in a file.

	R=michaelthomas
	DELTA=122  (108 added, 0 deleted, 14 changed)

Change on 2012-06-29 11:34:34-07:00 by nnaze

	Move the parse for comments and functions test function into testutil
	for later use.

	R=ajp
	DELTA=59  (32 added, 25 deleted, 2 changed)

Change on 2012-07-13 15:37:08-07:00 by ajp

	Release GJsLint 2.3.6

	R=michaelthomas
	DELTA=5  (2 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5155


git-svn-id: http://closure-linter.googlecode.com/svn/trunk@17 71da9934-2b21-84e7-0a4e-7ab6f78df257

Restore original limited_doc_files flag behavior, where the the
strings in the flag are considered suffixes and not exact matches.
Add unit test to ensure behavior.

R=ajp
DELTA=34  (30 added, 1 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5156


git-svn-id: http://closure-linter.googlecode.com/svn/trunk@18 71da9934-2b21-84e7-0a4e-7ab6f78df257

Change on 2012-07-17 18:35:43-07:00 by nnaze

	Update inaccurate return value comment.

	R=ajp
	DELTA=1  (0 added, 0 deleted, 1 changed)

Change on 2012-07-24 15:30:38-07:00 by nnaze

	Default to multiprocessing only on Linux.  Windows users
	are having problems.

	R=ajp
	DELTA=7  (3 added, 0 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5218


git-svn-id: http://closure-linter.googlecode.com/svn/trunk@19 71da9934-2b21-84e7-0a4e-7ab6f78df257

Change on 2012-08-23 15:27:13-07:00 by nnaze

	Add a function to tokenutils that gets a full identifier string given a token,
	even if split across lines.  Also add that functionality to DocComment
	(renaming to GetTargetToken() and GetTargetSymbol()).

	R=ajp
	DELTA=316  (218 added, 53 deleted, 45 changed)

Change on 2012-08-24 11:01:32-07:00 by christophf

	Check for missing semicolon after function expression not only for top level functions.

	R=ajp
	DELTA=33  (23 added, 6 deleted, 4 changed)

Change on 2012-08-24 17:16:44-07:00 by nnaze

	Add @expose to the list of legal flags.

	Fixes issue 53.

	R=ajp
	DELTA=1  (1 added, 0 deleted, 0 changed)

Change on 2012-09-07 08:11:03-07:00 by corysmith

	Updating the base.js and the genjsdeps code to provide goog based on a comment annotation.

	The annotation is not finalized: it is merely the only one that had an sort of response.

	R=nicksantos,michaelthomas
	DELTA=4  (4 added, 0 deleted, 0 changed)

Change on 2012-09-12 10:27:21-07:00 by nmvc

	Permit file overviews to not have a blank line prior if they are the first line.

	R=ajp
	DELTA=6  (5 added, 0 deleted, 1 changed)

Change on 2012-09-12 10:31:25-07:00 by nmvc

	Add explanatory comment.

	R=ajp
	DELTA=2  (2 added, 0 deleted, 0 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=5541


git-svn-id: http://closure-linter.googlecode.com/svn/trunk@20 71da9934-2b21-84e7-0a4e-7ab6f78df257

Change on 2012-10-31 12:46:57-07:00 by euzuro

	Adding 'struct' and 'dict' to JSDoc Standard list.

	Also this doc:
	http://www.corp.google.com/eng/doc/javascriptguide.xml#jsdoc-tags
	... should be updated.

	R=ajp,michaelthomas,nnaze,dimvar
	DELTA=24  (24 added, 0 deleted, 0 changed)

Change on 2012-11-30 12:01:46-08:00 by xiaohuic

	html fixjsstyle

	R=ajp
	DELTA=147  (138 added, 0 deleted, 9 changed)

Change on 2012-12-13 13:54:42-08:00 by hurst

	Add ID generator jscompiler annotations to gjslint.  Sample usages in
	google3:
	https://cs.corp.google.com/#search/&q=file:js$%20@%5Bcis%5D.*dGenerator&type=cs

	These annotations are used to make jscompiler optimize out some ID generation logic.  For example, generating HTML IDs for soy templates or obfuscated module IDs for GWS.

	Corresponding jscompiler code:
	https://cs.corp.google.com/#google3/third_party/java/rhino_ast/java/com/google/javascript/rhino/JSDocInfoBuilder.java&q=JsDocInfoBuilder%20idgenerator&type=cs

	R=ajp
	DELTA=33  (33 added, 0 deleted, 0 changed)

Change on 2012-12-17 14:58:24-08:00 by martone

	Release GJsLint 2.3.8

	R=ajp


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5994


git-svn-id: http://closure-linter.googlecode.com/svn/trunk@21 71da9934-2b21-84e7-0a4e-7ab6f78df257

Change on 2013-02-21 15:02:50-08:00 by dbarnett

	Add @modName, @mods, and @visibility as acceptable extensions to JsDoc. Also fix link to JsDoc
	tags list, move 'protected' to STANDARD_DOC, and move 'provideGoog' to
	EXTENDED_DOC.

	R=ajp
	DELTA=19 (13 added, 0 deleted, 6 changed)

Change on 2013-02-22 09:37:20-08:00 by johnlenz

	@notypecheck is going away, so warn people if they try to use it.

	R=michaelthomas
	DELTA=10 (0 added, 9 deleted, 1 changed)

Change on 2013-02-28 12:52:14-08:00 by nnaze

	Remove requirement that parameters and return values have descriptions.

	R=michaelthomas
	DELTA=21 (5 added, 5 deleted, 11 changed)

Change on 2013-03-03 20:16:37-08:00 by vagrawal

	Adding line number with error where closure namespaces are used or provided.

	R=michaelthomas
	DELTA=103 (52 added, 4 deleted, 47 changed)

Change on 2013-03-04 07:51:09-08:00 by vagrawal

	When case/default statement is encountered out of switch statement then throwing parsing error to let user know about it instead of crashing.

	Bug 5525799

	R=michaelthomas,gjslint-tech
	DELTA=6 (5 added, 0 deleted, 1 changed)

Change on 2013-03-05 14:56:18-08:00 by nnaze

	Do not consider a goog.provide namespace "extra" if it is given
	in goog.setTestOnly.

	R=michaelthomas
	DELTA=165 (104 added, 22 deleted, 39 changed)

Change on 2013-03-05 16:14:24-08:00 by nnaze

	Release GJsLint 2.3.8

	R=martone
	DELTA=2 (0 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6284




git-svn-id: http://closure-linter.googlecode.com/svn/trunk@22 71da9934-2b21-84e7-0a4e-7ab6f78df257
add maxline flag to be able to specify line length other than 80
remove maxline define from error_fixer.py
allow for complex s_ members on prototype chains